commit | ac4ea13a3aec87bf3e6ceb54e867e20f1fbd4253 | [log] [tgz] |
---|---|---|
author | Skip Montanaro <skip@pobox.com> | Mon Dec 22 16:31:41 2003 +0000 |
committer | Skip Montanaro <skip@pobox.com> | Mon Dec 22 16:31:41 2003 +0000 |
tree | 282c8755f1af5910caff13a369dd81c375a51408 | |
parent | 66518bbb67ee5d4ba5c8ec314f2192e425a2d707 [diff] |
There are places in Python which assume bytes have 8-bits. Formalize that a bit by checking the value of UCHAR_MAX in Include/Python.h. There was a check in Objects/stringobject.c. Remove that. (Note that we don't define UCHAR_MAX if it's not defined as the old test did.)