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 mcjeff
Recipients eric.araujo, mcjeff, orsenthil
Date 2011-06-20.15:03:07
SpamBayes Score 0.0044935164
Marked as misclassified No
Message-id <1308582188.61.0.342800033159.issue12365@psf.upfronthosting.co.za>
In-reply-to
Content
Isn't that snippet (contextlib.closing(...)) passing the result of urllib.urlopen to closing? The urlopen call is a factory function of sorts, so there's really no context to manage on its part?  Maybe it's just a matter of making that clear?

If you can share what you've got in mind, I'd love to give it a go. The urllib stuff I've done thus far has been a great way to get my feet wet!
History
Date User Action Args
2011-06-20 15:03:08mcjeffsetrecipients: + mcjeff, orsenthil, eric.araujo
2011-06-20 15:03:08mcjeffsetmessageid: <1308582188.61.0.342800033159.issue12365@psf.upfronthosting.co.za>
2011-06-20 15:03:08mcjefflinkissue12365 messages
2011-06-20 15:03:07mcjeffcreate