Jeffrey Finkelstein <jeffrey.finkelst...@gmail.com> added the comment:
Here's a patch for the python-email6 branch. It seemed to make sense to remove parsedate_tz() and mktime_tz() here, since the parsedate() function now returns a datetime object, including timezone information (if it was parsed from the input string). Also required updating several tests to work with the new return type, and removing a test that checked if the returned value of parsedate() (a time tuple) was "acceptable" for use with functions from the time module. ---------- Added file: http://bugs.python.org/file19040/issue9864.datetime.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue9864> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com