On Tue, Aug 24, 2010 at 10:30 PM, Stefan Behnel <[email protected]> wrote: > Robert Bradshaw, 24.08.2010 17:14: >> On Tue, Aug 24, 2010 at 7:52 AM, Stefan Behnel wrote: >>> Haoyu Bai, 24.08.2010 16:11: >>>> Looking into Python's test suite, one potential issue is Python >>>> recognize ". .." as syntax error while my implementation will still >>>> accept it as Ellipsis. Could we tolerate this kind of divergent? >>> >>> IMHO, no. If Python rejects it and it's not Cython specific syntax, we >>> should reject it as well. (also, when compiling .py files, any non-Python >>> syntax should be rejected) >> >> Python 3 accepts a bare ellipsis, so I think we can leave it in. > > From what Haoyu wrote, I think he meant that the literal ". .." (mind the > space character) would be accepted as "...". That should be rejected. Only > "..." is a valid spelling for Ellipsis.
Ah, I totally missed that. Sounds like another case of the -2 vs. -3 flag, where with -2 we should only reject it in -3 mode. - Robert _______________________________________________ Cython-dev mailing list [email protected] http://codespeak.net/mailman/listinfo/cython-dev
