commit | 230cae7474858a8ce2147849a7a00a5501564641 | [log] [tgz] |
---|---|---|
author | Fred Drake <fdrake@acm.org> | Tue May 09 21:50:00 2000 +0000 |
committer | Fred Drake <fdrake@acm.org> | Tue May 09 21:50:00 2000 +0000 |
tree | 98360cfa478c5ec40938cc76d2791848ca37e966 | |
parent | a69ef82643c362ba7c2d9e08eaa02fc0a997f829 [diff] |
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.