[issue16765] Superfluous import in cgi module

2012-12-25 Thread Michiel Holtkamp
Michiel Holtkamp added the comment: Thanks, I will do that next time. Happy holidays everyone! -- ___ Python tracker <http://bugs.python.org/issue16765> ___ ___

[issue16765] Superfluous import in cgi module

2012-12-24 Thread Michiel Holtkamp
Michiel Holtkamp added the comment: Fair enough, I think I'm using 2.7 only. I wasn't sure about the patch format, so I added a unified diff. If you require a different format, please let me know. -- keywords: +patch Added file: http://bugs.python.org/file28420/patch

[issue16765] Superfluous import in cgi module

2012-12-24 Thread Michiel Holtkamp
New submission from Michiel Holtkamp: 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 progra