Message321518
The co_consts vector is already as short as possible, except cases when tuples are created at code generation time, but this is not related to this issue (see issue33318 and issue33325).
>>> def f():
... a = (1.0, 1.0)
... b = (1.0, 1.0)
...
>>> f.__code__.co_consts
(None, (1.0, 1.0))
>>> f.__code__.co_consts[1][0] is f.__code__.co_consts[1][1]
False |
|
Date |
User |
Action |
Args |
2018-07-12 05:08:56 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, tim.peters, mark.dickinson, vstinner, methane, Dan Rose |
2018-07-12 05:08:56 | serhiy.storchaka | set | messageid: <1531372136.22.0.56676864532.issue34100@psf.upfronthosting.co.za> |
2018-07-12 05:08:56 | serhiy.storchaka | link | issue34100 messages |
2018-07-12 05:08:56 | serhiy.storchaka | create | |
|