]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
More bug 460020. When I is a subclass of int, disable the +I(whatever),
authorTim Peters <tim.peters@gmail.com>
Tue, 11 Sep 2001 21:44:14 +0000 (21:44 +0000)
committerTim Peters <tim.peters@gmail.com>
Tue, 11 Sep 2001 21:44:14 +0000 (21:44 +0000)
commit73a1dfe3674429f923e98b84ef01df1614baad2f
tree9af64d22a0bdc3b3b77d7c704cfcda6c098b58b7
parent95fefc7a7a7d3c732b9b2a2102ced3bcc7859cda
More bug 460020.  When I is a subclass of int, disable the +I(whatever),
I(0) << whatever, I(0) >> whatever, I(whatever) << 0 and I(whatever) >> 0
optimizations.
Lib/test/test_descr.py
Objects/intobject.c