3 ms·
Hmm, it looks like it’s handled comments for at least a decade: https://github.com/python/cpython/blame/d75a51bea3c2442f81d38ff850b81b8b7f3330f0/Lib/netrc.py#L
by js2 5y ago
Hmm, it looks like it’s handled comments for at least a decade:
https://github.com/python/cpython/blame/d75a51bea3c2442f81d38ff850b81b8b7f3330f0/Lib/netrc.py#L88 https://github.com/python/cpython/blame/d75a51bea3c2442f81d3...
Oh, maybe it’s this issue:
https://bugs.python.org/issue34132 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.)