A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2002-June/025485.html below:

[Python-Dev] large file support

[Python-Dev] large file support [Python-Dev] large file supportJeremy Hylton jeremy@zope.com
Mon, 17 Jun 2002 16:28:23 -0400
>>>>> "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