← Back to context

Comment by js2

3 years ago

Hmm, it looks like it’s handled comments for at least a decade:

https://github.com/python/cpython/blame/d75a51bea3c2442f81d3...

Oh, maybe it’s this issue:

https://bugs.python.org/issue34132

If I’ve read it correctly, there was a regression from Python 2.x to 3.x such that you now need to format comments:

    #like this 

Instead of:

    # like this

(A space after the # isn’t accepted by the parser.)