[issue10324] Modules/binascii.c: simplify expressions

Terry J. Reedy report at bugs.python.org
Fri Nov 5 23:57:08 CET 2010


Terry J. Reedy <tjreedy at udel.edu> added the comment:

As near as I can tell, since && and || are logical rather than bitwise, and since the variable reference 'quotetabs' has no side effect, you are correct. Have you run the unittest on a patched build?

----------
nosy: +terry.reedy
stage:  -> commit review
type: feature request -> performance
versions: +Python 3.2 -Python 3.3

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue10324>
_______________________________________


More information about the Python-bugs-list mailing list