[ python-Bugs-1219273 ] 'Expression' AST Node not documented
SourceForge.net
noreply at sourceforge.net
Wed Jun 29 21:26:15 CEST 2005
Bugs item #1219273, was opened at 2005-06-12 20:27
Message generated for change (Comment added) made by pterk
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1219273&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: Documentation
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Martin Miller (mrmiller)
Assigned to: Nobody/Anonymous (nobody)
Summary: 'Expression' AST Node not documented
Initial Comment:
Python 2.4.1 documentation
===
The table at the end of section "19.3.1 AST Nodes"
does not list Node type 'Expression' and its associated
information.
Also, the BNF for 'expression' shown in the file
<http://docs.python.org/ref/grammar.txt>
> expression ::=
> or_test | lambda_form
can't be correct because it doesn't cover cases of a
simple literals (or identifiers) such as 42 and simple
binary operator expressions such as 1+2.
----------------------------------------------------------------------
Comment By: Peter van Kampen (pterk)
Date: 2005-06-29 21:26
Message:
Logged In: YES
user_id=174455
See patch #1227568
----------------------------------------------------------------------
Comment By: Peter van Kampen (pterk)
Date: 2005-06-29 21:24
Message:
Logged In: YES
user_id=174455
I have submitted a (very minimal) doc-patch that adds
expression to the section 19.3.1.
----------------------------------------------------------------------
Comment By: Reinhold Birkenfeld (birkenfeld)
Date: 2005-06-18 22:34
Message:
Logged In: YES
user_id=1188172
To your second comment: the BNF for expression is correct
since or_test can contain and_test which can contain
not_test and so on until primary, atom, literal.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1219273&group_id=5470
More information about the Python-bugs-list
mailing list