[issue5915] PEP 383 implementation

2009-10-13 Thread Martin v . Löwis
Martin v. Löwis added the comment: I'm skeptical that a backport is a useful thing. First, the handler is primarily meant for use with PEP 383, which means that it's all internal; few applications will ever need to use it explicitly. Furthermore, applications/libraries that do use it most lik

[issue5915] PEP 383 implementation

2009-10-07 Thread Jean-Paul Calderone
Jean-Paul Calderone added the comment: It would be useful to have the surrogateescape error handler backported to 2.7 to make it easier to start handling the kind of data it is needed for. -- nosy: +exarkun ___ Python tracker

[issue5915] PEP 383 implementation

2009-05-04 Thread Martin v. Löwis
Martin v. Löwis added the comment: Committed as r72313 -- resolution: -> accepted status: open -> closed ___ Python tracker ___ ___ P

[issue5915] PEP 383 implementation

2009-05-04 Thread Martin v. Löwis
Martin v. Löwis added the comment: Fixed in r72310 http://codereview.appspot.com/52095/diff/30/1013 File Lib/test/test_codecs.py (right): http://codereview.appspot.com/52095/diff/30/1013#newcode1545 Line 1545: b"foo\xa5bar") On 2009/05/04 12:25:43, Antoine Pitrou wrote: > You decode with iso-8

[issue5915] PEP 383 implementation

2009-05-04 Thread Benjamin Peterson
Benjamin Peterson added the comment: Aside from Antoine's comments, I think it looks good now. -- assignee: benjamin.peterson -> loewis ___ Python tracker ___ ___

[issue5915] PEP 383 implementation

2009-05-04 Thread Antoine Pitrou
Antoine Pitrou added the comment: A couple of really small things. http://codereview.appspot.com/52095/diff/30/1013 File Lib/test/test_codecs.py (right): http://codereview.appspot.com/52095/diff/30/1013#newcode1545 Line 1545: b"foo\xa5bar") You decode with iso-8859-3 but encode with iso-8859-4

[issue5915] PEP 383 implementation

2009-05-03 Thread Martin v. Löwis
Changes by Martin v. Löwis : Added file: http://bugs.python.org/file13863/383.diff ___ Python tracker ___ ___ Python-bugs-list mailing list Uns

[issue5915] PEP 383 implementation

2009-05-03 Thread Martin v. Löwis
Changes by Martin v. Löwis : Removed file: http://bugs.python.org/file13857/383.diff ___ Python tracker ___ ___ Python-bugs-list mailing list U

[issue5915] PEP 383 implementation

2009-05-03 Thread Martin v. Löwis
Martin v. Löwis added the comment: Reviewers: report_bugs.python.org, Benjamin, Message: Fixed in r72272 http://codereview.appspot.com/52095/diff/1/5 File Include/unicodeobject.h (right): http://codereview.appspot.com/52095/diff/1/5#newcode1254 Line 1254: The function is intended to be used f

[issue5915] PEP 383 implementation

2009-05-03 Thread Benjamin Peterson
Benjamin Peterson added the comment: The calls to bytes2str are not checked in posixmodule.c. http://codereview.appspot.com/52095/diff/1/5 File Include/unicodeobject.h (right): http://codereview.appspot.com/52095/diff/1/5#newcode1254 Line 1254: The function is intended to be used for paths an

[issue5915] PEP 383 implementation

2009-05-03 Thread Martin v. Löwis
Martin v. Löwis added the comment: Some notes, in addition to the PEP: - the file system APIs have all stopped using et converters, and use O& converters, with a new API function PyUnicode_FSConverter. This outputs a bytes or bytearray object which needs to be released when done; if it is a byt

[issue5915] PEP 383 implementation

2009-05-03 Thread Martin v. Löwis
Martin v. Löwis added the comment: http://codereview.appspot.com/52095 -- ___ Python tracker ___ ___ Python-bugs-list mailing list Uns

[issue5915] PEP 383 implementation

2009-05-03 Thread Martin v. Löwis
New submission from Martin v. Löwis : This is the implementation of PEP 383. Rietveld submission will follow. -- assignee: benjamin.peterson files: 383.diff keywords: patch messages: 87069 nosy: benjamin.peterson, loewis priority: release blocker severity: normal status: open title: PEP