homepage

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 ptn
Recipients OG7, grahamd, i000, jnoller, ptn
Date 2009年06月10日.13:58:01
SpamBayes Score 8.929578e-06
Marked as misclassified No
Message-id <1244642282.9.0.123774704077.issue5313@psf.upfronthosting.co.za>
In-reply-to
Content
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
History
Date User Action Args
2009年06月10日 13:58:03ptnsetrecipients: + ptn, OG7, jnoller, grahamd, i000
2009年06月10日 13:58:02ptnsetmessageid: <1244642282.9.0.123774704077.issue5313@psf.upfronthosting.co.za>
2009年06月10日 13:58:01ptnlinkissue5313 messages
2009年06月10日 13:58:01ptncreate

AltStyle によって変換されたページ (->オリジナル) /