News for hackers. Stuff that matters.
Re:I accidentally used YAML.parse instead of JSON.parse and ... by js2 on Sunday January 23, 2022 @09:32PM (#30053025)
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.)

There are no comments on this comment yet.