[issue45056] compiler: Unnecessary None in co_consts
Inada Naoki
report at bugs.python.org
Wed Sep 1 04:22:44 EDT 2021
Inada Naoki <songofacandy at gmail.com> added the comment:
@Pablo This issue seems an optimization rather than bugfix.
But since Python 3.10 produces more unused constants than 3.9, this is a regression.
GH-28109 removes not all unused constants, but only trailing unused constants.
I think it is enough to fix the regression.
I want to backport it to 3.10 or 3.10.1 after Mark's review.
----------
nosy: +pablogsal
versions: +Python 3.11
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue45056>
_______________________________________
More information about the Python-bugs-list
mailing list