[New-bugs-announce] [issue2493] Remove unused constants from optimized code objects

Alexander Belopolsky report at bugs.python.org
Wed Mar 26 15:47:35 CET 2008


New submission from Alexander Belopolsky <belopolsky at users.sourceforge.net>:

When peephole optimizer folds multiple constants into one, the old 
constants remain in co_consts.  Attached patch removes such unused 
constants.

----------
components: Interpreter Core
files: compress-consts.diff
keywords: patch
messages: 64558
nosy: belopolsky
severity: normal
status: open
title: Remove unused constants from optimized code objects
type: resource usage
versions: Python 2.6
Added file: http://bugs.python.org/file9867/compress-consts.diff

__________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue2493>
__________________________________


More information about the New-bugs-announce mailing list