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 arigo
Recipients
Date 2006年06月08日.10:53:16
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
The 'with' statement eats some execeptions,
in a pattern that I haven't been able to
understand quite precisely:
>>> with os.popen('ls', 'r') as f:
... print 'hi'
... print 1/0
...
hi
ls: broken pipe
>>> 
History
Date User Action Args
2007年08月23日 14:40:27adminlinkissue1502805 messages
2007年08月23日 14:40:27admincreate

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