This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: Improve the netrc library
Type: enhancement Stage: patch review
Components: Library (Lib) Versions: Python 3.11
process
Status: open Resolution:
Dependencies: Superseder:
Assigned To: Nosy List: asvetlov, eamanu, r.david.murray, xiang.zhang, xtreak
Priority: normal Keywords: patch

Created on 2016-11-26 11:13 by xiang.zhang, last changed 2022-04-11 14:58 by admin.

Files
File name Uploaded Description Edit
netrc.patch xiang.zhang, 2016-11-26 11:13 review
Pull Requests
URL Status Linked Edit
PR 127 closed xiang.zhang, 2017-02-16 04:18
PR 26330 merged eamanu, 2021-05-24 13:41
Messages (4)
msg281767 - (view) Author: Xiang Zhang (xiang.zhang) * (Python committer) Date: 2016-11-26 11:13
netrc library now gets some problems:

1. All tokens are mandatory. (#28780)
2. Token values are limited to a limited set of characters. (#557704)
3. Does not complain about macro definition without a null line.
4. If the login name is anonymous, security check is not needed.

Propose a patch to handle these. I treat it as an enhancement of the existing library instead of bug fix.
msg372227 - (view) Author: Emmanuel Arias (eamanu) * Date: 2020-06-24 02:06
Hi!

I let a comment on github. The PR was open 3 years agot, so I was wandering to know if are there some plans with that PR? Are you interested on the PR?

Cheers,
msg394254 - (view) Author: Emmanuel Arias (eamanu) * Date: 2021-05-24 15:08
Hello everybody I've just make this PR https://github.com/python/cpython/pull/26330 to continue the work.
msg406457 - (view) Author: Andrew Svetlov (asvetlov) * (Python committer) Date: 2021-11-17 09:08
New changeset 15409c720be0503131713e3d3abc1acd0da07378 by Emmanuel Arias in branch 'main':
bpo-28806: Continue work: improve the netrc library (GH-26330)
https://github.com/python/cpython/commit/15409c720be0503131713e3d3abc1acd0da07378
History
Date User Action Args
2022-04-11 14:58:40adminsetgithub: 72992
2021-11-17 09:12:58asvetlovsetversions: + Python 3.11, - Python 3.7
2021-11-17 09:08:39asvetlovsetnosy: + asvetlov
messages: + msg406457
2021-05-24 15:08:12eamanusetmessages: + msg394254
2021-05-24 13:41:13eamanusetpull_requests: + pull_request24922
2020-06-24 02:06:13eamanusetnosy: + eamanu
messages: + msg372227
2018-10-29 15:56:27serhiy.storchakasetpull_requests: - pull_request9533
2018-10-29 14:18:09bbaylessetpull_requests: + pull_request9533
2018-10-10 05:10:26xtreaksetnosy: + xtreak
2017-02-16 04:18:37xiang.zhangsetpull_requests: + pull_request89
2017-01-05 07:44:39xiang.zhangsetnosy: + r.david.murray, - vstinner
2016-11-28 05:03:36xiang.zhanglinkissue14844 dependencies
2016-11-26 11:15:20xiang.zhanglinkissue28780 dependencies
2016-11-26 11:13:30xiang.zhangcreate