>>>>> "GvR" == Guido van Rossum <guido@python.org> writes: >> I'd be happiest if os.path.exists() would work regardless of >> whether Python supported large files. I'd be satisifed with an >> exception that at least let me know something went wrong. GvR> Is there an errno we can test for? stat() for a non-existent GvR> file raises one exception, stat() for a file in a directory you GvR> can't read raises a different one; maybe stat of a large file GvR> raises something else again? I think os.path.exists() ought to GvR> return True in this case. On the platform I tried (apparently RH 7.1) it raises EOVERFLOW. I can extend posixpath to treat that as "file exists" tomorrow. Jeremy
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4