[Patches] [ python-Patches-1631035 ] SyntaxWarning for backquotes
SourceForge.net
noreply at sourceforge.net
Tue Jan 9 07:55:01 CET 2007
Patches item #1631035, was opened at 2007-01-09 12:26
Message generated for change (Comment added) made by anthonybaxter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1631035&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: Core (C code)
Group: Python 2.6
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Anthony Baxter (anthonybaxter)
Assigned to: Thomas Wouters (twouters)
Summary: SyntaxWarning for backquotes
Initial Comment:
The following patch (for 2.6) issues a SyntaxWarning for backquotes/backticks in source code. I had to add the filename to struct compiling in Python/ast.c - this seems like the neatest way to get the filename passed around. (see also the XXX before ast_error)
Assigned to twouters, since it was his idea in the first place.
----------------------------------------------------------------------
>Comment By: Anthony Baxter (anthonybaxter)
Date: 2007-01-09 17:55
Message:
Logged In: YES
user_id=29957
Originator: YES
And here's another one (on top of the last one) that also emits
SyntaxWarnings for <>
Not sure I like 'NOTEQUALSOLD' as a token name, but I couldn't think of
anything better.
This one should probably be only enabled when the Py3K warnings flag is
on.
File Added: notequals.diff
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1631035&group_id=5470
More information about the Patches
mailing list