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 ncoghlan
Recipients ncoghlan
Date 2012年10月16日.12:31:20
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1350390680.77.0.132205585956.issue16247@psf.upfronthosting.co.za>
In-reply-to
Content
Trying to streamline the URL retrieval example in the concurrent.futures docs were severely hampered by the fact the URLError thrown by urlopen doesn't tell you *what URL* it was trying to retrieve when it failed.
This is OK in synchronous code (where you probably still have the URL around), but quite a pain in asynchronous code (such as that using concurrent.futures) where the original context may have been lost by the time the future is signalled.
History
Date User Action Args
2012年10月16日 12:31:20ncoghlansetrecipients: + ncoghlan
2012年10月16日 12:31:20ncoghlansetmessageid: <1350390680.77.0.132205585956.issue16247@psf.upfronthosting.co.za>
2012年10月16日 12:31:20ncoghlanlinkissue16247 messages
2012年10月16日 12:31:20ncoghlancreate

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