Message179448
| 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. |
|