[ python-Bugs-1589074 ] Unneeded constants left during optimization

SourceForge.net noreply at sourceforge.net
Sat Nov 4 16:29:05 CET 2006


Bugs item #1589074, was opened at 2006-11-02 06:55
Message generated for change (Comment added) made by loewis
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1589074&group_id=5470

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Parser/Compiler
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Daniel (kamek)
Assigned to: Nobody/Anonymous (nobody)
Summary: Unneeded constants left during optimization

Initial Comment:
At some point, when generating the bytecode, the
parser/compiler pre-calculates operations on constants.
However, the old values, which are often not needed
anymore in the constants, are left there as garbage.

To keep this description from being lengthy, I'm
attaching a text file with several simple
demonstrations that serve as testcases.

----------------------------------------------------------------------

>Comment By: Martin v. Löwis (loewis)
Date: 2006-11-04 16:29

Message:
Logged In: YES 
user_id=21627

Would you like to work on a patch to fix this problem?

----------------------------------------------------------------------

Comment By: Daniel (kamek)
Date: 2006-11-02 06:58

Message:
Logged In: YES 
user_id=539453

Sorry, I rushed and missed the File Description field.
Should be "Interactive interpreter testcases".

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1589074&group_id=5470


More information about the Python-bugs-list mailing list