Message82457
In multiprocessing.process it contains the code:
def _bootstrap(self):
....
if sys.stdin is not None:
try:
os.close(sys.stdin.fileno())
except (OSError, ValueError):
pass
This code should probably be calling sys.stdin.close() and not
os.close(sys.stdin.fileno()).
The code as is will fail if sys.stdin had been replaced with an alternate
file like object, such as StringIO, which doesn't have a fileno() method. |
|
Date |
User |
Action |
Args |
2009-02-19 05:21:12 | grahamd | set | recipients:
+ grahamd, jnoller |
2009-02-19 05:21:12 | grahamd | set | messageid: <1235020872.08.0.0158488308351.issue5313@psf.upfronthosting.co.za> |
2009-02-19 05:21:10 | grahamd | link | issue5313 messages |
2009-02-19 05:21:09 | grahamd | create | |
|