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

Minor typo in socket.py #50423

Closed
ptn mannequin opened this issue Jun 2, 2009 · 3 comments
Closed

Minor typo in socket.py #50423

ptn mannequin opened this issue Jun 2, 2009 · 3 comments
Labels
stdlib Python modules in the Lib dir type-bug An unexpected behavior, bug, or error

Comments

@ptn
Copy link
Mannequin

ptn mannequin commented Jun 2, 2009

BPO 6173
Nosy @mdickinson
Files
  • socket.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 = <Date 2009-06-02.07:43:06.406>
    created_at = <Date 2009-06-02.05:51:24.781>
    labels = ['type-bug', 'library']
    title = 'Minor typo in socket.py'
    updated_at = <Date 2009-06-02.07:44:46.322>
    user = 'https://bugs.python.org/ptn'

    bugs.python.org fields:

    activity = <Date 2009-06-02.07:44:46.322>
    actor = 'mark.dickinson'
    assignee = 'none'
    closed = True
    closed_date = <Date 2009-06-02.07:43:06.406>
    closer = 'mark.dickinson'
    components = ['Library (Lib)']
    creation = <Date 2009-06-02.05:51:24.781>
    creator = 'ptn'
    dependencies = []
    files = ['14153']
    hgrepos = []
    issue_num = 6173
    keywords = ['patch']
    message_count = 3.0
    messages = ['88715', '88723', '88724']
    nosy_count = 2.0
    nosy_names = ['mark.dickinson', 'ptn']
    pr_nums = []
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue6173'
    versions = ['Python 2.6', 'Python 3.0', 'Python 3.1', 'Python 2.7']

    @ptn
    Copy link
    Mannequin Author

    ptn mannequin commented Jun 2, 2009

    Index: socket.py
    ===================================================================

    --- socket.py	(revision 73134)
    +++ socket.py	(working copy)
    @@ -16,7 +16,7 @@
     gethostbyname() -- map a hostname to its IP number
     gethostbyaddr() -- map an IP number or hostname to DNS info
     getservbyname() -- map a service name and a protocol name to a port number
    -getprotobyname() -- mape a protocol name (e.g. 'tcp') to a number
    +getprotobyname() -- map a protocol name (e.g. 'tcp') to a number
     ntohs(), ntohl() -- convert 16, 32 bit int from network to host byte order
     htons(), htonl() -- convert 16, 32 bit int from host to network byte order
     inet_aton() -- convert IP addr string (123.45.67.89) to 32-bit packed
    format

    @ptn ptn mannequin added the stdlib Python modules in the Lib dir label Jun 2, 2009
    @mdickinson
    Copy link
    Member

    Thanks! Fixed in r73138, r71739, r71740, r71741.

    @mdickinson mdickinson added the type-bug An unexpected behavior, bug, or error label Jun 2, 2009
    @mdickinson
    Copy link
    Member

    Sorry. Those revision numbers should be:

    r73138, r73139, r73140, r73141.

    @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-bug An unexpected behavior, bug, or error
    Projects
    None yet
    Development

    No branches or pull requests

    1 participant