Message179448
> 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. |
|
Date |
User |
Action |
Args |
2013-01-09 15:00:18 | sbt | set | recipients:
+ sbt, brett.cannon, eric.araujo, asvetlov, python-dev, Ramchandra Apte, serhiy.storchaka |
2013-01-09 15:00:18 | sbt | set | messageid: <1357743618.08.0.0566752737068.issue16261@psf.upfronthosting.co.za> |
2013-01-09 15:00:18 | sbt | link | issue16261 messages |
2013-01-09 15:00:18 | sbt | create | |
|