Message178055
The standard module cgi.py from Python 2.x imports urllib, but urllib is not used. This causes a little bit of extra memory usage and a small increase in load time. It's not much, but it was enough for me to notice when I was profiling my program.
I think the urllib import can be safely removed in 2.6 and 2.7. I've tested without the import and it works as expected in my case.
In Python 3.2 (other 3.x versions not checked), urllib.parse is imported but here it is actually used, so no problem there.
PS. first time submitting a bug here, so if I'm doing something wrong, please be gentle :) |
|
Date |
User |
Action |
Args |
2012-12-24 12:53:37 | mjholtkamp | set | recipients:
+ mjholtkamp |
2012-12-24 12:53:37 | mjholtkamp | set | messageid: <1356353617.65.0.761345333654.issue16765@psf.upfronthosting.co.za> |
2012-12-24 12:53:37 | mjholtkamp | link | issue16765 messages |
2012-12-24 12:53:37 | mjholtkamp | create | |
|