[issue7370] patch: BaseHTTPServer reinventing rfc822 date formatting

Éric Araujo report at bugs.python.org
Mon Apr 12 11:25:36 CEST 2010


Éric Araujo <merwok at netwok.org> added the comment:

Nice catch. The patch looks good to me and applies correctly on my trunk copy. There seems to be no test about this in the test suite; do you have a little test script to compare old and new code?

On a sidenote, I find all this business with time.time, time.gmtime, time.localtime and time.strftime always confusing. We have datetime objects now, would it be ok to use them in this module?

Regards

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue7370>
_______________________________________


More information about the Python-bugs-list mailing list