This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author markmentovai
Recipients gjb1002, gregory.p.smith, markmentovai, ocean-city, tim.golden
Date 2008-12-08.20:53:23
SpamBayes Score 3.2408682e-08
Marked as misclassified No
Message-id <1228769606.46.0.22656651124.issue3210@psf.upfronthosting.co.za>
In-reply-to
Content
This is not limited to Windows.  I experience this bug on Mac OS X and
Linux as well.

http://mail.python.org/pipermail/python-list/2008-August/505753.html

Attachment 3210.py is a reduced testcase.  It attempts to execute nocmd,
which should not exist.  The expected behavior is for OSError to be
thrown each time, with ENOENT or EACCES set in the errno field,
depending on the environment.  Due to this bug, Python will hit the file
descriptor limit at some point instead.

For quick reproduction, set a low but reasonable limit on the number of
maximum open files:

mark@anodizer bash$ ulimit -n 256
mark@anodizer bash$ python 3210.py
250
Traceback (most recent call last):
  File "3210.py", line 11, in <module>
    raise e
OSError: [Errno 24] Too many open files
History
Date User Action Args
2008-12-08 20:53:26markmentovaisetrecipients: + markmentovai, gregory.p.smith, gjb1002, ocean-city, tim.golden
2008-12-08 20:53:26markmentovaisetmessageid: <1228769606.46.0.22656651124.issue3210@psf.upfronthosting.co.za>
2008-12-08 20:53:25markmentovailinkissue3210 messages
2008-12-08 20:53:24markmentovaicreate