Staging
v0.5.1
https://github.com/python/cpython
Revision d183bdd6fb77ae562714c655f0689beacdc00da1 authored by Neal Norwitz on 28 March 2008, 04:58:51 UTC, committed by Neal Norwitz on 28 March 2008, 04:58:51 UTC
Rather than sprinkle casts throughout the code, change Py_CHARMASK to
always cast it's result to an unsigned char.  This should ensure we
do the right thing when accessing an array with the result.
1 parent 36550bd
History
Tip revision: d183bdd6fb77ae562714c655f0689beacdc00da1 authored by Neal Norwitz on 28 March 2008, 04:58:51 UTC
Revert r61969 which added casts to Py_CHARMASK to avoid compiler warnings.
Tip revision: d183bdd

README

back to top