Message149654
| Author |
vstinner |
| Recipients |
ezio.melotti, loewis, skrah, vstinner |
| Date |
2011年12月17日.02:55:55 |
| SpamBayes Score |
6.972386e-08 |
| Marked as misclassified |
No |
| Message-id |
<1324090556.36.0.130550136058.issue13560@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
changeset: 74002:279b0aee0cfb
user: Victor Stinner <victor.stinner@haypocalc.com>
date: Fri Dec 16 23:56:01 2011 +0100
files: Doc/c-api/unicode.rst Include/unicodeobject.h Modules/_localemodule.c Modules/main.c Modules/timemodule.c
description:
Add PyUnicode_DecodeLocaleAndSize() and PyUnicode_DecodeLocale()
* PyUnicode_DecodeLocaleAndSize() and PyUnicode_DecodeLocale() decode a string
from the current locale encoding
* _Py_char2wchar() writes an "error code" in the size argument to indicate
if the function failed because of memory allocation failure or because of a
decoding error. The function doesn't write the error message directly to
stderr.
* Fix time.strftime() (if wcsftime() is missing): decode strftime() result
from the current locale encoding, not from the filesystem encoding. |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2011年12月17日 02:55:56 | vstinner | set | recipients:
+ vstinner, loewis, ezio.melotti, skrah |
| 2011年12月17日 02:55:56 | vstinner | set | messageid: <1324090556.36.0.130550136058.issue13560@psf.upfronthosting.co.za> |
| 2011年12月17日 02:55:55 | vstinner | link | issue13560 messages |
| 2011年12月17日 02:55:55 | vstinner | create |
|