This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author psam
Recipients psam
Date 2011-12-06.13:07:50
SpamBayes Score 0.0181164
Marked as misclassified No
Message-id <>
The v2.6 of __enter__() of TimeEncoding has been fixed in v2.7 in relation with the return of setlocale(), but for no apparent reason, its necessary returned value is no more there.


    def __enter__(self):
        self.oldlocale = _locale.getlocale(_locale.LC_TIME)
        _locale.setlocale(_locale.LC_TIME, self.locale)
+       return _locale.getlocale(_locale.LC_TIME)[1]
Date User Action Args
2011-12-06 13:07:51psamsetrecipients: + psam
2011-12-06 13:07:51psamsetmessageid: <>
2011-12-06 13:07:51psamlinkissue13539 messages
2011-12-06 13:07:50psamcreate