[issue1778] SyntaxError.offset sometimes wrong

Achim Gaedke report at bugs.python.org
Sun Jan 13 23:11:06 CET 2008


Achim Gaedke added the comment:

sometimes offset is None...

Example:
def blub(bla, blub=None, blabla):
    bla

causes:
non-default argument follows default argument

Added file: http://bugs.python.org/file9150/compile_test.py

__________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue1778>
__________________________________


More information about the Python-bugs-list mailing list