[Python-3000-checkins] r54434 - in python/branches/p3yk: Grammar/Grammar Include/token.h Lib/compiler/transformer.py Lib/test/test_grammar.py Lib/token.py Lib/tokenize.py Parser/tokenizer.c Python/ast.c Python/graminit.c

Georg Brandl g.brandl at gmx.net
Mon Mar 19 19:56:52 CET 2007

Guido van Rossum schrieb:
> Did you realize that this breaks test_modulefinder.py? It contains tests like
>   from ... import something
> and the parser now returns an ellipsis token for the there dots
> instead of three '.' tokens. Since this is valid syntax (even though
> Thomas doesn't like it :-) we should fix this somehow. I guess the
> syntax should use ('.' | '...')+ where it currently uses '.'+ and
> ditto for '.'*.

Argh, I saw the failure but decided it had nothing to do with my change...
I'd never have thought of that new relative import syntax :)

Should be fixed now.


More information about the Python-3000-checkins mailing list