diff Python/codecs.c @ 41611:c48fe4dc34a9

Change UnicodeDecodeError objects so that the 'object' attribute is a bytes object. Add 'y' and 'y#' format specifiers that work like 's' and 's#' but only accept bytes objects.
author Walter Dörwald <walter@livinglogic.de>
date Fri, 04 May 2007 19:28:21 +0000
parents 15b810e21fe9
children 089f449a20cd
line wrap: on
line diff