-
-
Notifications
You must be signed in to change notification settings - Fork 33.7k
[2.7] bpo-30806: Fix netrc.__repr__() format (GH-2491) #4276
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
netrc file format doesn't support quotes and escapes. See https://linux.die.net/man/5/netrc
8e6e688 to
247057d
Compare
|
test is failing on Windows. |
|
Yes, that's why I don't want to backport it by myself. Backporting to 2.7 requires significant efforts. I don't have time and motivation about thinking about how to backport it. I'm very busy in these |
Lib/test/test_netrc.py
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe, reverting this change may fix the error.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Don't forget to remove import tempfile when reverting this.
|
@methane I understand. No worries; I'm also busier than usual these days, but I'll take a look at those Windows tests when I have time. |
Also, make the tests work in 2.7
247057d to
72d9096
Compare
72d9096 to
40b0005
Compare
|
@methane Thanks for the tip with the tests. All green now! |
Backports the fix for https://bugs.python.org/issue30806 and updates the syntax for Python 2.7 compatibility.
https://bugs.python.org/issue30806