[prev in list] [next in list] [prev in thread] [next in thread] 

List:       python-patches
Subject:    [Patches] [ python-Patches-505826 ] demo warning for expressions w/no effect
From:       noreply () sourceforge ! net (noreply () sourceforge ! net)
Date:       2002-03-25 12:47:41
Message-ID: E16pTsz-0007F3-00 () usw-sf-web2 ! sourceforge ! net
[Download RAW message or body]

Patches item #505826, was opened at 2002-01-19 14:24
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=305470&aid=505826&group_id=5470

Category: Parser/Compiler
Group: Python 2.3
>Status: Closed
Resolution: None
Priority: 5
Submitted By: Neal Norwitz (nnorwitz)
Assigned to: Nobody/Anonymous (nobody)
Summary: demo warning for expressions w/no effect

Initial Comment:
This patch is not meant to be applied as is.  
It is for discussion purposes.

It modifies the compiler to warn about statements that
have no effect.  It does a printf() when it determines
an expression has no effect.  The sample definition is:
 a POP_TOP preceded by a BINARY_* or a LOAD_* operation.



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

>Comment By: Neal Norwitz (nnorwitz)
Date: 2002-03-25 07:47

Message:
Logged In: YES 
user_id=33168

I don't think this is useful any more.

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

You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=305470&aid=505826&group_id=5470


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic