You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
assignee='https://github.com/doerwalter'closed_at=<Date2003-01-31.17:29:23.000>created_at=<Date2003-01-30.11:43:06.000>labels= []
title='Out of bounds indizes in PEP293 callbacks'updated_at=<Date2003-01-31.17:29:23.000>user='https://github.com/doerwalter'
This patch changes the treatment of positions returned
by PEP-293 error handers in the Unicode codecs: Negative
positions are treated as being relative to the end of
the input and out of bounds positions result in an
IndexError. The patch also updates the PEP and includes
an explanation of this in the documentation for
codecs.register_error. I don't know if this is the best
spot for it, or if it should be put somewhere else.
Activity
doerwalter commentedon Jan 30, 2003
This patch changes the treatment of positions returned
by PEP-293 error handers in the Unicode codecs: Negative
positions are treated as being relative to the end of
the input and out of bounds positions result in an
IndexError. The patch also updates the PEP and includes
an explanation of this in the documentation for
codecs.register_error. I don't know if this is the best
spot for it, or if it should be put somewhere else.
gvanrossum commentedon Jan 31, 2003
Logged In: YES
user_id=6380
Since this says "codec" I've assigned it to Marc-Andre. :-)
Marc-Andre, if you don't have time, feel free to unassign it.
malemburg commentedon Jan 31, 2003
Logged In: YES
user_id=38388
... and I thought Unicode was the keyword ;-)
I fully trust Walter on the error handler callbacks, so I'll
pass it on to him.
doerwalter commentedon Jan 31, 2003
Logged In: YES
user_id=89016
Checked in as:
Doc/lib/libcodecs.tex 1.17
Doc/lib/libfuncs.tex 1.128
Lib/test/test_codeccallbacks.py 1.9
Modules/_iconv_codec.c 1.7
Objects/unicodeobject.c 2.180
nondist/peps/pep-0293.txt 1.7