[Python-checkins] python/nondist/peps pep-0293.txt,1.7,1.8
doerwalter@users.sourceforge.net
doerwalter@users.sourceforge.net
Sun, 27 Apr 2003 15:40:01 -0700
Update of /cvsroot/python/python/nondist/peps
In directory sc8-pr-cvs1:/tmp/cvs-serv12483
Modified Files:
pep-0293.txt
Log Message:
Fix typos.
Index: pep-0293.txt
===================================================================
RCS file: /cvsroot/python/python/nondist/peps/pep-0293.txt,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -d -r1.7 -r1.8
*** pep-0293.txt 31 Jan 2003 17:19:09 -0000 1.7
--- pep-0293.txt 27 Apr 2003 22:39:58 -0000 1.8
***************
*** 388,394 ****
The semantics of unicode.encode with errors="replace" has changed:
The old version always stored a ? character in the output string
! even if no character was mapped to ? in the mapping. With the
! proposed patch, the replacement string from the callback callback
! will again be looked up in the mapping dictionary. But as all
supported encodings are ASCII based, and thus map ? to ?, this
should not be a problem in practice.
--- 388,394 ----
The semantics of unicode.encode with errors="replace" has changed:
The old version always stored a ? character in the output string
! even if no character was mapped to ? in the mapping. With the
! proposed patch, the replacement string from the callback will
! again be looked up in the mapping dictionary. But as all
supported encodings are ASCII based, and thus map ? to ?, this
should not be a problem in practice.