Skip to content
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

nntplib needs updating to RFC 3977 #49459

Closed
travis mannequin opened this issue Feb 10, 2009 · 4 comments
Closed

nntplib needs updating to RFC 3977 #49459

travis mannequin opened this issue Feb 10, 2009 · 4 comments
Labels
stdlib Python modules in the Lib dir type-feature A feature request or enhancement

Comments

@travis
Copy link
Mannequin

travis mannequin commented Feb 10, 2009

BPO 5209
Nosy @pitrou, @vadmium
Files
  • nntplib.diff: nntplib.py diff
  • 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 = <Date 2015-06-14.13:55:08.967>
    created_at = <Date 2009-02-10.19:42:47.524>
    labels = ['type-feature', 'library']
    title = 'nntplib needs updating to RFC 3977'
    updated_at = <Date 2015-06-14.13:55:08.965>
    user = 'https://bugs.python.org/travis'

    bugs.python.org fields:

    activity = <Date 2015-06-14.13:55:08.965>
    actor = 'martin.panter'
    assignee = 'none'
    closed = True
    closed_date = <Date 2015-06-14.13:55:08.967>
    closer = 'martin.panter'
    components = ['Library (Lib)']
    creation = <Date 2009-02-10.19:42:47.524>
    creator = 'travis'
    dependencies = []
    files = ['13020']
    hgrepos = []
    issue_num = 5209
    keywords = ['patch']
    message_count = 4.0
    messages = ['81587', '81608', '122643', '245343']
    nosy_count = 4.0
    nosy_names = ['pitrou', 'travis', 'jelie', 'martin.panter']
    pr_nums = []
    priority = 'normal'
    resolution = 'out of date'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'enhancement'
    url = 'https://bugs.python.org/issue5209'
    versions = ['Python 3.2']

    @travis
    Copy link
    Mannequin Author

    travis mannequin commented Feb 10, 2009

    RFC 977 has been obsoleted by RFC 3977

    Numerous new commands, standardized extensions, clarifications.

    @travis travis mannequin added stdlib Python modules in the Lib dir type-feature A feature request or enhancement labels Feb 10, 2009
    @travis
    Copy link
    Mannequin Author

    travis mannequin commented Feb 10, 2009

    Attached is a difference which implements CAPABILITIES and MODE READER
    and leaves some TODO comments for other RFC 3977 commands.

    @jelie
    Copy link
    Mannequin

    jelie mannequin commented Nov 28, 2010

    •    Whether posting is allowed depends on whether it
      
    •    is included in results of CAPABILITIES; see
      
    •    RFC 3977 section 5.1.2.
      
    •    Deprecated:
         If the response code is 200, posting is allowed;
         if it 201, posting is not allowed."""
      

    200 and 201 do not have a deprecated meaning in RFC 3977.

    200 = posting may be available during the session (possibly after commands like STARTTLS or AUTHINFO have been successfully sent)
    201 = posting will never be allowed in the session, whatever the user does.

    I agree that the only way to know whether posting is allowed at a given time during the session is to send CAPABILITIES and to look for POST.

    @vadmium
    Copy link
    Member

    vadmium commented Jun 14, 2015

    General RFC 3977 support was added as part of bpo-9360 (revision 0077ee30134c), so I am closing this one.

    For the record there are a couple bits of the patch that someone might still find useful:

    • New NNTP(bind=...) parameter
    • More lenient checking for successful authentication status

    @vadmium vadmium closed this as completed Jun 14, 2015
    @ezio-melotti ezio-melotti transferred this issue from another repository Apr 10, 2022
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Labels
    stdlib Python modules in the Lib dir type-feature A feature request or enhancement
    Projects
    None yet
    Development

    No branches or pull requests

    1 participant