You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I was wondering what the reason was behind removing the append of the newline in this commit. As far as I can tell, without a trailing newline python 2.7.x will raise a SyntaxError: unexpected EOF while parsing for compile("def foo(): return bar", ..) (and since its a SyntaxError, it can be pretty difficult to trace with the pdb family). Thanks
The text was updated successfully, but these errors were encountered:
Are you sure you are using Python 2.7? That newline was removed because needed in Python versions < 2.6 and I have dropped support for such versions in decorator 4.0.
Hi, I was wondering what the reason was behind removing the append of the newline in this commit. As far as I can tell, without a trailing newline python 2.7.x will raise a
SyntaxError: unexpected EOF while parsing
forcompile("def foo(): return bar", ..)
(and since its a SyntaxError, it can be pretty difficult to trace with the pdb family). ThanksThe text was updated successfully, but these errors were encountered: