[issue34132] Obscure netrc parser "bug"

2018-07-20 Thread bbayles
bbayles added the comment: I realized that the Python 2 solution was adapt-able after all; I've re-submitted as GitHub PR 8360. https://github.com/python/cpython/pull/8360 -- ___ Python tracker

[issue34132] Obscure netrc parser "bug"

2018-07-20 Thread bbayles
Change by bbayles : -- pull_requests: +7895 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34132] Obscure netrc parser "bug"

2018-07-19 Thread bbayles
bbayles added the comment: I took a shot at this, but closed my PR when I found that it introduced a different regression. After playing with it for a bit, I think that this commit [1] is a bit problematic because it uses lexer.instream.readline(), which can make the line number in

[issue34132] Obscure netrc parser "bug"

2018-07-17 Thread bbayles
Change by bbayles : -- keywords: +patch pull_requests: +7856 stage: needs patch -> patch review ___ Python tracker ___ ___

[issue34132] Obscure netrc parser "bug"

2018-07-17 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: This seems to have been introduced with commit : 1df0f214a9fdb4dde7506576b144cf6a7fd01b65 before which it was working fine. Testing shows the error from 1df0f214a9fdb4dde7506576b144cf6a7fd01b65 and above. I have checked out only versions of

[issue34132] Obscure netrc parser "bug"

2018-07-17 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +xtreak ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34132] Obscure netrc parser "bug"

2018-07-16 Thread Xiang Zhang
Change by Xiang Zhang : -- nosy: +xiang.zhang ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34132] Obscure netrc parser "bug"

2018-07-16 Thread bbayles
Change by bbayles : -- nosy: +bbayles ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34132] Obscure netrc parser "bug"

2018-07-16 Thread Skip Montanaro
Change by Skip Montanaro : Added file: https://bugs.python.org/file47697/netrc-blank-comment ___ Python tracker ___ ___ Python-bugs-list

[issue34132] Obscure netrc parser "bug"

2018-07-16 Thread Skip Montanaro
New submission from Skip Montanaro : Not sure I can really call this a bug, however there is a behavioral change between 2.7 and at least 3.6 and 3.7 (probably earlier versions of the 3.x series as well). There is no spec for .netrc files that I can find, certainly nothing which mentions