Skip to content

Instantly share code, notes, and snippets.

@glyphobet
Created September 22, 2011 10:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save glyphobet/1234480 to your computer and use it in GitHub Desktop.
Save glyphobet/1234480 to your computer and use it in GitHub Desktop.
This crashes Jython (2.5.2 final), without a trailing newline at the end of the file. With the newline, it's fine. In CPython, it's fine with or without the trailing newline. Reported to Jython in: http://bugs.jython.org/issue1812
class Foo(object):
def foo(arg):
pass
# comment
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment