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

Python 2.6 standard library "sees also" something not in the standard library #52039

Closed
dholth mannequin opened this issue Jan 26, 2010 · 4 comments
Closed

Python 2.6 standard library "sees also" something not in the standard library #52039

dholth mannequin opened this issue Jan 26, 2010 · 4 comments
Assignees
Labels
docs Documentation in the Doc dir type-bug An unexpected behavior, bug, or error

Comments

@dholth
Copy link
Mannequin

dholth mannequin commented Jan 26, 2010

BPO 7791
Nosy @birkenfeld, @ezio-melotti, @briancurtin, @dholth

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 = 'https://github.com/ezio-melotti'
closed_at = <Date 2010-01-28.04:29:20.551>
created_at = <Date 2010-01-26.22:02:14.444>
labels = ['type-bug', 'docs']
title = 'Python 2.6 standard library "sees also" something not in the standard library'
updated_at = <Date 2010-01-28.04:29:20.533>
user = 'https://github.com/dholth'

bugs.python.org fields:

activity = <Date 2010-01-28.04:29:20.533>
actor = 'ezio.melotti'
assignee = 'ezio.melotti'
closed = True
closed_date = <Date 2010-01-28.04:29:20.551>
closer = 'ezio.melotti'
components = ['Documentation']
creation = <Date 2010-01-26.22:02:14.444>
creator = 'dholth'
dependencies = []
files = []
hgrepos = []
issue_num = 7791
keywords = []
message_count = 4.0
messages = ['98384', '98385', '98386', '98456']
nosy_count = 4.0
nosy_names = ['georg.brandl', 'ezio.melotti', 'brian.curtin', 'dholth']
pr_nums = []
priority = 'low'
resolution = 'fixed'
stage = 'resolved'
status = 'closed'
superseder = None
type = 'behavior'
url = 'https://bugs.python.org/issue7791'
versions = ['Python 2.6']

@dholth
Copy link
Mannequin Author

dholth mannequin commented Jan 26, 2010

I thought it was really odd that the standard library documentation references ipaddr, a module from pypi, not something else in the standard library.

The documentation should explain that the referenced package is not a standard part of Python.

http://docs.python.org/library/socket.html#socket.inet_pton

See also

ipaddr.BaseIP.packed()
    Platform-independent conversion to a packed, binary format.

@dholth dholth mannequin assigned birkenfeld Jan 26, 2010
@dholth dholth mannequin added the docs Documentation in the Doc dir label Jan 26, 2010
@dholth
Copy link
Mannequin Author

dholth mannequin commented Jan 26, 2010

Also ipaddr.BaseIP.packed is a property, not a method, so no ()

@briancurtin
Copy link
Member

unittest also does this, but it does so at the top and references projects as a whole, rather than individual functions/classes in the project.

Seems like this should be taken out. It doesn't exist in any version after 2.6.

@briancurtin briancurtin added the type-bug An unexpected behavior, bug, or error label Jan 26, 2010
@ezio-melotti
Copy link
Member

I removed it in r77814.

@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
docs Documentation in the Doc dir type-bug An unexpected behavior, bug, or error
Projects
None yet
Development

No branches or pull requests

3 participants