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.24087e-08
Marked as misclassified No
Message-id <>
This is not limited to Windows.  I experience this bug on Mac OS X and
Linux as well.

Attachment 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
Traceback (most recent call last):
  File "", line 11, in <module>
    raise e
OSError: [Errno 24] Too many open files
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: <>
2008-12-08 20:53:25markmentovailinkissue3210 messages
2008-12-08 20:53:24markmentovaicreate