STINNER Victor victor.stin...@haypocalc.com added the comment:
Close this issue: nothing special on the buildbots.
--
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue850997
Tim Golden m...@timgolden.me.uk added the comment:
I'm unlikely to get to it soon. If there's no urgency I can
look at it later. FWIW, it's not something I'm especially
familiar with.
On 12/06/2010 01:02, STINNER Victor wrote:
STINNER Victorvictor.stin...@haypocalc.com added the comment:
STINNER Victor victor.stin...@haypocalc.com added the comment:
Patch version 4:
- encode_mbcs() uses WC_NO_BEST_FIT_CHARS flag in strict mode. Examples: ğ and
ł are not more replaced by g and l
- encode_mbcs() doesn't set *repr to NULL on encode error: the caller does
anyway destroy it
-
STINNER Victor victor.stin...@haypocalc.com added the comment:
I commited the last patch to py3k: r82037. Let see how the buildbots react :-)
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue850997
STINNER Victor victor.stin...@haypocalc.com added the comment:
Tim: are you interested in testing this patch?
--
nosy: +tim.golden
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue850997
___
STINNER Victor victor.stin...@haypocalc.com added the comment:
Update the patch (I commited the patch on tarfile module): version 3.
--
Added file: http://bugs.python.org/file17635/mbcs_errors-py3k-3.patch
___
Python tracker rep...@bugs.python.org
Changes by STINNER Victor victor.stin...@haypocalc.com:
Removed file: http://bugs.python.org/file17456/mbcs_errors-py3k.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue850997
___
Changes by STINNER Victor victor.stin...@haypocalc.com:
Removed file: http://bugs.python.org/file17622/mbcs_errors-py3k-2.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue850997
___
STINNER Victor victor.stin...@haypocalc.com added the comment:
I worked again on the patch. I opened new issues to prepare the new mbcs codec:
- #8966: ctypes: remove implicit conversion between unicode and bytes
- #8967: Create PyErr_GetWindowsMessage() function
- #8969: Windows: use (mbcs
STINNER Victor victor.stin...@haypocalc.com added the comment:
New version of the patch:
- decode_mbcs() calls raise_translate_exception() to set the error (in the
previous patch, I'm not sure that the error was set)
- include #8784 patch (tarfile uses utf-8 as the default encoding)
-
STINNER Victor victor.stin...@haypocalc.com added the comment:
Updated version of the patch for py3k:
- don't accept ignore error handler anymore
- there is a FIXME near mbcs_decode_error:
The whole test suite pass with these patch.
--
Added file:
Changes by STINNER Victor victor.stin...@haypocalc.com:
--
nosy: +haypo
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue850997
___
___
STINNER Victor victor.stin...@haypocalc.com added the comment:
I patched py3k with mbcs_errors.patch (only encode_mbcs, not the decoder
function) and most test pass: I opened #8784 for test_tarfile failure.
I don't think that it's a problem that mbcs only supports few error handlers,
eg.
STINNER Victor victor.stin...@haypocalc.com added the comment:
Since this change breaks backward compatibility, it's a very bad idea to change
mbcs codec in Python 2.7: remove this version from this issue.
--
versions: -Python 2.7
___
Python
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
nosy: +ezio.melotti
versions: +Python 2.7, Python 3.2
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue850997
___
Daniel Diniz aja...@gmail.com added the comment:
Is this behavior still present? If so, is it still interesting to change it?
--
components: +Unicode
keywords: +patch
nosy: +ajaksu2
stage: - test needed
type: - feature request
___
Python tracker
Changes by Thomas Heller thel...@ctypes.org:
--
nosy: -theller
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue850997
___
___
Python-bugs-list
Mark Hammond mhamm...@users.sourceforge.net added the comment:
It is still present, but I'm not sure what problems can be seen due to
this so can't comment on its desirability. It would also introduce a
backwards compatability concern but I've not enough experience to know
how much of a problem
18 matches
Mail list logo