Commit Graph

11 Commits

Author SHA1 Message Date
Marti Raudsepp 04a6af2ab1 Fix various typos, spelling and grammar errors
Errors detected using Topy (https://github.com/intgr/topy), all changes
verified by hand.
2016-07-11 18:35:35 +03:00
Benjamin Peterson 1cfda57bab add people's emails to their peps (from pep 0) 2008-12-30 03:48:55 +00:00
David Goodger 794b1f8f11 converted to UTF-8 & added coding slugs 2006-03-02 19:54:50 +00:00
Walter Dörwald 3ac0e706ad Fix typos. 2003-04-27 22:39:58 +00:00
Walter Dörwald b673f29c07 Change the treatment of positions returned by PEP293
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.

Also update the PEP and include an explanation of
this in the documentation for codecs.register_error.

Fixes a small bug in iconv_codecs: if the position
from the callback is negative *add* it to the size
instead of substracting it.

From SF patch #677429.
2003-01-31 17:19:09 +00:00
Barry Warsaw 3d754f3e07 PEP 293 is complete and checked in, so mark it as Final. 2002-09-03 15:58:43 +00:00
Walter Dörwald b151a83ed7 Add another compatiblity issue: illegal "errors" values
will raise a different exception.
2002-07-25 13:30:28 +00:00
Walter Dörwald 078b0a43a4 Update the PEP to the current state of the patch. 2002-07-25 13:23:29 +00:00
Walter Dörwald 5fbb4389bd Incorporate the result of the XML-SIG discussion:
stream readers/writers need a changeable errors attribute.
2002-07-09 18:35:04 +00:00
Walter Dörwald af7e5a7e46 Update Post-History 2002-06-19 11:12:50 +00:00
Barry Warsaw 90997b3c1d PEP 293, Codec Error Handling Callbacks, Walter Dörwald 2002-06-19 03:22:11 +00:00