Fabio Zadrozny wrote: > Because it is able to handle the constructs removing the ambiguity, > and make things right semantically later on, but I don't like the idea > of being so different from the official grammar (although I'm running > out of choices). I'm not sure it is the same (or at least related) problem, but a parsing ambiguity was also reported for the lambda varargslist in 2.x: http://bugs.python.org/issue2009 I think I'd be happier with fiddling the Grammar to eliminate these problems if Guido was to chime in as the author of pgen though... (since pgen appears to be able to make sense of the grammar as it currently stands, while other parsers sometimes have trouble) Cheers, Nick. -- Nick Coghlan | ncoghlan at gmail.com | Brisbane, Australia ---------------------------------------------------------------
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4