Message131369
Alright, attaching a patch that reworks urlretrieve to use urlopen internal to urllib.request.
1. I dropped the local caching as it isn't turned on by default anyway (and isn't really documented).
2. Updated documentation to reflect caching changes & make urlretrieve part of the official API again.
3. Kept the urlcleanup function, but use a global list to track temporary files. I'd be happy to change this functionality if that makes sense.
4. After moving the urlretrieve stuff out of test_urllibnet, I realized that file didn't serve much of a purpose any longer, so I just removed it.
5. Updated NEWS.
I'd be happy to rework any of this in order to bring it up to stuff. Comments and suggestions are very much welcomed. |
|
Date |
User |
Action |
Args |
2011-03-18 22:57:50 | mcjeff | set | recipients:
+ mcjeff, jhylton, orsenthil, pitrou, nadeem.vawda, eric.araujo |
2011-03-18 22:57:49 | mcjeff | set | messageid: <1300489069.7.0.171565083256.issue10050@psf.upfronthosting.co.za> |
2011-03-18 22:57:49 | mcjeff | link | issue10050 messages |
2011-03-18 22:57:48 | mcjeff | create | |
|