Message138726
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! |
|
Date |
User |
Action |
Args |
2011-06-20 15:03:08 | mcjeff | set | recipients:
+ mcjeff, orsenthil, eric.araujo |
2011-06-20 15:03:08 | mcjeff | set | messageid: <1308582188.61.0.342800033159.issue12365@psf.upfronthosting.co.za> |
2011-06-20 15:03:08 | mcjeff | link | issue12365 messages |
2011-06-20 15:03:07 | mcjeff | create | |
|