diff options
author | Stefan Krah <stefan@bytereef.org> | 2010-07-19 13:00:48 (GMT) |
---|---|---|
committer | Stefan Krah <stefan@bytereef.org> | 2010-07-19 13:00:48 (GMT) |
commit | 5bf0664175909eba6a0f440e2b2f8d4d227bb992 (patch) | |
tree | ac4023fb1712cffdf687cee8597032fc204f2f44 /Misc/python-mode.el | |
parent | 18b00563db690bba481e7388c6c72cd9a48f0223 (diff) | |
download | cpython-5bf0664175909eba6a0f440e2b2f8d4d227bb992.zip cpython-5bf0664175909eba6a0f440e2b2f8d4d227bb992.tar.gz cpython-5bf0664175909eba6a0f440e2b2f8d4d227bb992.tar.bz2 |
Merged revisions 82966 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r82966 | stefan.krah | 2010-07-19 14:36:57 +0200 (Mon, 19 Jul 2010) | 13 lines
Issue #9036: Throughout the code base, Py_CHARMASK is used on 8-bit wide
signed/unsigned chars or on integers directly derived from those. In all
cases, it could be replaced by a simple cast to (unsigned char). Reasons
for the change:
a) Make the comment more explicit.
b) If char is unsigned, the cast is optimized away.
c) If char is unsigned, gcc emits spurious "array subscript
has type 'char'" warnings.
........
Diffstat (limited to 'Misc/python-mode.el')
0 files changed, 0 insertions, 0 deletions