[New-bugs-announce] [issue40678] Full list of Python lexical rules
Ram Rachum
report at bugs.python.org
Tue May 19 02:05:54 EDT 2020
New submission from Ram Rachum <ram at rachum.com>:
I'm a noob on parsing, learning about it, so it's possible I've made a mistake somewhere.
I know there's this page: https://docs.python.org/3/reference/grammar.html
Which is a full listing of Python's grammar. However, looking at this page: https://docs.python.org/3/reference/lexical_analysis.html I see rules that aren't written there, like longstringitem.
I'm guessing that's because these are lexing rules, while the former was a list of parsing rules?
If that's the case, shouldn't there also be a full, authoritative list of Python's lexical rules? Possibly alongside the parsing rules?
----------
assignee: docs at python
components: Documentation
messages: 369320
nosy: cool-RR, docs at python, georg.brandl, gvanrossum
priority: normal
severity: normal
status: open
title: Full list of Python lexical rules
type: enhancement
versions: Python 3.6, Python 3.7, Python 3.8, Python 3.9
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue40678>
_______________________________________
More information about the New-bugs-announce
mailing list