To answer the OP's question, I'd say this is a feature of Jython that allows the developer to break a single line of code up into multiple lines with comments, while still having it treated as a single line of code.
See ? With the right state of mind, everything is a feature !
You just have to believe !
It's built-in punishment for using BASIC comment syntax.
The glass is half full:
The glass is half empty:
In Visual Basic, apostrophes behave the same way as #
symbols in Python. While this Jython apostrophe commenting looks similar, it's not the same thing.
That's because it's a bug.
uff from 2016 yikes
Ye of little faith.
You must have overlooked this post:
Facts don't care about your optimism.
Well, that's how it goes; it's a feature until somebody files a bug report:
You certainly found more than I was able to. How were able to identify that bug ticket? This is a skill that I would like to possess as well.
Well, I started with 'What does it do in CPython?', which correctly returns an error.
Then, the Google-fu becomes "jython" EOL while scanning string literal
. For me, the bug report was at the top.