Message310329
> This PR moves the constant for the name from `co_names` to `co_consts`. There is no duplication.
But if there is an initializer, the name is left in `co_names` too.
I don't think this (as well as possible performance difference) is important. My only concerns are about subtle behavior differences.
For example, is the name always interned (even if long or non-ASCII)? Does any code depend on interning keys in __annotations__? (There is a code that depends on interning keys in type.__dict__). |
|
Date |
User |
Action |
Args |
2018-01-20 07:49:50 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, gvanrossum, rhettinger, Mark.Shannon, yselivanov, levkivskyi |
2018-01-20 07:49:50 | serhiy.storchaka | set | messageid: <1516434590.8.0.467229070634.issue32550@psf.upfronthosting.co.za> |
2018-01-20 07:49:50 | serhiy.storchaka | link | issue32550 messages |
2018-01-20 07:49:50 | serhiy.storchaka | create | |
|