diff Python/errors.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 06145fbc7ab9
children b29d71d43c80
line wrap: on
line diff