]> granicus.if.org Git - python/commit
The methods islower(), isupper(), isspace(), isdigit() and istitle()
authorGuido van Rossum <guido@python.org>
Fri, 5 May 2000 20:44:24 +0000 (20:44 +0000)
committerGuido van Rossum <guido@python.org>
Fri, 5 May 2000 20:44:24 +0000 (20:44 +0000)
commitb8f820c5a98a10c5ad94cfec1569b7b80829c55d
tree6a42b705c71becf4ff14f796c5a3c2c88cc3e811
parent3a03d4c4c7beeecdc4678ac3ce2f817fd0b1aa39
The methods islower(), isupper(), isspace(), isdigit() and istitle()
gave bogus results for chars in the range 128-255, because their
implementation was using signed characters.  Fixed this by using
unsigned character pointers (as opposed to using Py_CHARMASK()).
Objects/stringobject.c