Message212382
| Author |
ned.deily |
| Recipients |
ned.deily, rene |
| Date |
2014年02月27日.20:27:36 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1393532856.39.0.703274934512.issue20793@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
Thanks for the report. There was a lengthy discussion of this behavior a few years ago in Issue3067. At that time it was decided not to change this behavior for 2.7. I'm not sure if the __future__ "unicode_literals" was considered then, however you can work around it by using the b"" literal syntax:
locale.setlocale(locale.LC_ALL, b'POSIX') |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2014年02月27日 20:27:36 | ned.deily | set | recipients:
+ ned.deily, rene |
| 2014年02月27日 20:27:36 | ned.deily | set | messageid: <1393532856.39.0.703274934512.issue20793@psf.upfronthosting.co.za> |
| 2014年02月27日 20:27:36 | ned.deily | link | issue20793 messages |
| 2014年02月27日 20:27:36 | ned.deily | create |
|