diff options
author | Fred Drake <fdrake@acm.org> | 2000-05-09 21:50:00 (GMT) |
---|---|---|
committer | Fred Drake <fdrake@acm.org> | 2000-05-09 21:50:00 (GMT) |
commit | 230cae7474858a8ce2147849a7a00a5501564641 (patch) | |
tree | 98360cfa478c5ec40938cc76d2791848ca37e966 /PC | |
parent | a69ef82643c362ba7c2d9e08eaa02fc0a997f829 (diff) | |
download | cpython-230cae7474858a8ce2147849a7a00a5501564641.zip cpython-230cae7474858a8ce2147849a7a00a5501564641.tar.gz cpython-230cae7474858a8ce2147849a7a00a5501564641.tar.bz2 |
Trent Mick <trentm@activestate.com>:
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.
Diffstat (limited to 'PC')
0 files changed, 0 insertions, 0 deletions