Visitar URL original
Improve the netrc library · Issue #72992 · python/cpython · GitHub
Skip to content

Improve the netrc library #72992

Description

@zhangyangyu
BPO 28806
Nosy @bitdancer, @asvetlov, @zhangyangyu, @eamanu, @tirkarthi
PRs
  • bpo-28806: Improve the netrc library #127
  • bpo-28806: Continue work: improve the netrc library #26330
  • Files
  • netrc.patch
  • Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

    Show more details

    GitHub fields:

    assignee = None
    closed_at = None
    created_at = <Date 2016-11-26.11:13:30.329>
    labels = ['type-feature', 'library', '3.11']
    title = 'Improve the netrc library'
    updated_at = <Date 2021-11-17.09:12:58.656>
    user = 'https://github.com/zhangyangyu'

    bugs.python.org fields:

    activity = <Date 2021-11-17.09:12:58.656>
    actor = 'asvetlov'
    assignee = 'none'
    closed = False
    closed_date = None
    closer = None
    components = ['Library (Lib)']
    creation = <Date 2016-11-26.11:13:30.329>
    creator = 'xiang.zhang'
    dependencies = []
    files = ['45651']
    hgrepos = []
    issue_num = 28806
    keywords = ['patch']
    message_count = 4.0
    messages = ['281767', '372227', '394254', '406457']
    nosy_count = 5.0
    nosy_names = ['r.david.murray', 'asvetlov', 'xiang.zhang', 'eamanu', 'xtreak']
    pr_nums = ['127', '26330']
    priority = 'normal'
    resolution = None
    stage = 'patch review'
    status = 'open'
    superseder = None
    type = 'enhancement'
    url = 'https://bugs.python.org/issue28806'
    versions = ['Python 3.11']

    Activity

    1. zhangyangyu commented on Nov 26, 2016

      @zhangyangyu
      MemberAuthor

      netrc library now gets some problems:

      1. All tokens are mandatory. (bpo-28780)
      2. Token values are limited to a limited set of characters. (bpo-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.

    2. added
      stdlibStandard Library Python modules in the Lib/ directory
      type-featureA feature request or enhancement
      on Nov 26, 2016
    3. eamanu commented on Jun 24, 2020

      eamanumannequin
      Mannequin

      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,

    4. eamanu commented on May 24, 2021

      eamanumannequin
      Mannequin

      Hello everybody I've just make this PR #26330 to continue the work.

    5. asvetlov commented on Nov 17, 2021

      @asvetlov
      Contributor

      New changeset 15409c7 by Emmanuel Arias in branch 'main':
      bpo-28806: Continue work: improve the netrc library (GH-26330)
      15409c7

    6. added
      3.11only security fixes
      and removed on Nov 17, 2021
    7. transferred this issue fromon Apr 10, 2022
    8. hauntsaninja commented on Oct 29, 2022

      @hauntsaninja
      Contributor

      Thanks, looks like the merged PR addresses this issue

    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      3.11only security fixesstdlibStandard Library Python modules in the Lib/ directorytype-featureA feature request or enhancement

      Projects

      No projects

        Milestone

        No milestone

        Relationships

        None yet

        Development

        No branches or pull requests

        Issue actions