[Patches] make 'b' formatter an *unsigned* char
Fred L. Drake, Jr.
fdrake@acm.org
Tue, 9 May 2000 17:50:39 -0400 (EDT)
Trent Mick writes:
> Limit the 'b' formatter of PyArg_ParseTuple to valid values of an unsigned
> char, i.e. [0,UCHAR_MAX]. It is expected that this is the common usage of 'b'.
> An OverflowError is raised if the parsed value is outside this range.
Trent,
Thanks, I've applied this patch.
-Fred
--
Fred L. Drake, Jr. <fdrake at acm.org>
Corporation for National Research Initiatives