• Stefan Krah's avatar
    Issue #9036: Throughout the code base, Py_CHARMASK is used on 8-bit wide · 36d2e67d
    Stefan Krah yazdı
    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.
    36d2e67d
Adı
Son kayıt (commit)
Son güncelleme
Demo Loading commit data...
Doc Loading commit data...
Grammar Loading commit data...
Include Loading commit data...
Lib Loading commit data...
Mac Loading commit data...
Misc Loading commit data...
Modules Loading commit data...
Objects Loading commit data...
PC Loading commit data...
PCbuild Loading commit data...
Parser Loading commit data...
Python Loading commit data...
Tools Loading commit data...
.bzrignore Loading commit data...
.hgignore Loading commit data...
.hgtags Loading commit data...
LICENSE Loading commit data...
Makefile.pre.in Loading commit data...
README Loading commit data...
configure Loading commit data...
configure.in Loading commit data...
install-sh Loading commit data...
pyconfig.h.in Loading commit data...
runtests.sh Loading commit data...
setup.py Loading commit data...