Message148915
| Author |
psam |
| Recipients |
psam |
| Date |
2011年12月06日.13:07:50 |
| SpamBayes Score |
0.018116377 |
| Marked as misclassified |
No |
| Message-id |
<1323176871.81.0.567417111906.issue13539@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
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.
Patch:
def __enter__(self):
self.oldlocale = _locale.getlocale(_locale.LC_TIME)
_locale.setlocale(_locale.LC_TIME, self.locale)
+ return _locale.getlocale(_locale.LC_TIME)[1] |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2011年12月06日 13:07:51 | psam | set | recipients:
+ psam |
| 2011年12月06日 13:07:51 | psam | set | messageid: <1323176871.81.0.567417111906.issue13539@psf.upfronthosting.co.za> |
| 2011年12月06日 13:07:51 | psam | link | issue13539 messages |
| 2011年12月06日 13:07:50 | psam | create |
|