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 sbt
Recipients Ramchandra Apte, asvetlov, brett.cannon, eric.araujo, python-dev, sbt, serhiy.storchaka
Date 2013-01-09.15:00:18
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1357743618.08.0.0566752737068.issue16261@psf.upfronthosting.co.za>
In-reply-to
Content
>  try:
>      _MAXFD = os.sysconf("SC_OPEN_MAX")
> -except:
> +except ValueError:
>      _MAXFD = 256

os.sysconf() might raise OSError.  I think ValueError is only  raised if _SC_OPEN_MAX was undefined when the module was compiled.
History
Date User Action Args
2013-01-09 15:00:18sbtsetrecipients: + sbt, brett.cannon, eric.araujo, asvetlov, python-dev, Ramchandra Apte, serhiy.storchaka
2013-01-09 15:00:18sbtsetmessageid: <1357743618.08.0.0566752737068.issue16261@psf.upfronthosting.co.za>
2013-01-09 15:00:18sbtlinkissue16261 messages
2013-01-09 15:00:18sbtcreate