STINNER Victor victor.stin...@haypocalc.com added the comment:
changeset: 74002:279b0aee0cfb
user:Victor Stinner victor.stin...@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
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset 88198b93ff2f by Victor Stinner in branch 'default':
Issue #13560: Add PyUnicode_EncodeLocale()
http://hg.python.org/cpython/rev/88198b93ff2f
New changeset 51412b4b81ae by Victor Stinner in branch 'default':
Issue
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset 07802351ccad by Victor Stinner in branch 'default':
Issue #13560: Locale codec functions use the classic errors parameter,
http://hg.python.org/cpython/rev/07802351ccad
--
STINNER Victor victor.stin...@haypocalc.com added the comment:
Ok, I think that the current code is good enough to close the issue. I opened a
more global issue about the Python codec: #13619.
--
resolution: - fixed
status: open - closed
___
Python
Changes by Stefan Krah stefan-use...@bytereef.org:
--
nosy: +skrah
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13560
___
___
Python-bugs-list
STINNER Victor victor.stin...@haypocalc.com added the comment:
I fixed issue #5905 (strptime fails in non-UTF locale). The fix is not enough
if the locale is changed in Python.
Update the patch to fix time.strftime() (if wcsftime() is not available).
--
Added file:
New submission from STINNER Victor victor.stin...@haypocalc.com:
To decode byte string from the locale encoding (LC_CTYPE),
PyUnicode_DecodeFSDefault() can be used, but this function uses a constant
encoding set at startup (the locale encoding at startup). The right method is
currently to
Changes by STINNER Victor victor.stin...@haypocalc.com:
--
keywords: +patch
Added file: http://bugs.python.org/file23886/pyunicode_decodelocale.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13560