Message89199
Wouldn't it be more pythonic to just try sys.stdin.fileno() and catch
the AtributeError too?
def _bootstrap(self):
....
try:
os.close(sys.stdin.fileno())
except AtributeError:
sys.stdin.close()
except (OSError, ValueError):
pass |
|
Date |
User |
Action |
Args |
2009-06-10 13:58:03 | ptn | set | recipients:
+ ptn, OG7, jnoller, grahamd, i000 |
2009-06-10 13:58:02 | ptn | set | messageid: <1244642282.9.0.123774704077.issue5313@psf.upfronthosting.co.za> |
2009-06-10 13:58:01 | ptn | link | issue5313 messages |
2009-06-10 13:58:01 | ptn | create | |
|