Message157673
If one changes the stacklevel in the DeprecationWarnings in the library to '2' instead of '1' (I believe it should be '2'), then an interesting array of deprecation warnings are issued...including from cookiejar code.
Most of them are in the urllib2 tests, though, and obviously they aren't being correctly protected.
I'm not sure what is causing the deprecation test to sometimes succeed and sometimes fail, though. Running python -m unittest.test_urllib2 consistently fails for me without the 1->2 change, and consistently passes (but with more warnings) with it. |
|
Date |
User |
Action |
Args |
2012-04-06 17:48:17 | r.david.murray | set | recipients:
+ r.david.murray, orsenthil, pitrou, skrah |
2012-04-06 17:48:17 | r.david.murray | set | messageid: <1333734497.84.0.988206739483.issue14341@psf.upfronthosting.co.za> |
2012-04-06 17:48:17 | r.david.murray | link | issue14341 messages |
2012-04-06 17:48:17 | r.david.murray | create | |
|