[PyPy-issue] [issue563] SyntaxError issue

Armin Rigo pypy-dev-issue at codespeak.net
Wed Nov 24 16:51:15 CET 2010


New submission from Armin Rigo <armin.rigo at gmail.com>:

We are worse than CPython at reporting SyntaxError in this case:

    def f():
        foo(      # missing closing parenthesis
    def bar():
        pass

We report the error with a line number that is the end of the file, making it
impossible to find where the missing closing parenthesis actually is.

----------
effort: ???
messages: 1847
nosy: pypy-issue
priority: bug
release: ???
status: unread
title: SyntaxError issue

_______________________________________________________
PyPy development tracker <pypy-dev-issue at codespeak.net>
<https://codespeak.net/issue/pypy-dev/issue563>
_______________________________________________________



More information about the Pypy-issue mailing list