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

urllib documentation: urlopen().info() return type #47677

Closed
ThomasH mannequin opened this issue Jul 22, 2008 · 4 comments
Closed

urllib documentation: urlopen().info() return type #47677

ThomasH mannequin opened this issue Jul 22, 2008 · 4 comments
Assignees
Labels
docs Documentation in the Doc dir type-bug An unexpected behavior, bug, or error

Comments

@ThomasH
Copy link
Mannequin

ThomasH mannequin commented Jul 22, 2008

BPO 3427
Nosy @birkenfeld, @orsenthil
Dependencies
  • bpo-3428: httplib.HTTPMessage undocumented
  • Files
  • urllib_doc_2.6.diff: Patch for 2.6
  • urllib_doc_2.7.diff: Patch for 2.7
  • 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/birkenfeld'
    closed_at = <Date 2009-03-31.22:18:37.913>
    created_at = <Date 2008-07-22.17:05:34.353>
    labels = ['type-bug', 'docs']
    title = 'urllib documentation: urlopen().info() return type'
    updated_at = <Date 2009-03-31.22:18:37.911>
    user = 'https://bugs.python.org/ThomasH'

    bugs.python.org fields:

    activity = <Date 2009-03-31.22:18:37.911>
    actor = 'georg.brandl'
    assignee = 'georg.brandl'
    closed = True
    closed_date = <Date 2009-03-31.22:18:37.913>
    closer = 'georg.brandl'
    components = ['Documentation']
    creation = <Date 2008-07-22.17:05:34.353>
    creator = 'ThomasH'
    dependencies = ['3428']
    files = ['13452', '13453']
    hgrepos = []
    issue_num = 3427
    keywords = ['patch']
    message_count = 4.0
    messages = ['70154', '84369', '84370', '84935']
    nosy_count = 4.0
    nosy_names = ['georg.brandl', 'orsenthil', 'rodolpho', 'ThomasH']
    pr_nums = []
    priority = 'normal'
    resolution = 'fixed'
    stage = 'needs patch'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue3427'
    versions = ['Python 2.6', 'Python 2.7']

    @ThomasH
    Copy link
    Mannequin Author

    ThomasH mannequin commented Jul 22, 2008

    http://docs.python.org/lib/module-urllib.html
    The page says that the return type of urlopen().info() is a
    mimetools.Message object, which is not quite true; it is a
    httplib.HTTPMessage object, which is a class derived from
    mimetools.Message, but with additional features.

    The httplib.HTTPMessage class is not documented at all, for which I will
    file a separate bug.

    @ThomasH ThomasH mannequin assigned birkenfeld Jul 22, 2008
    @ThomasH ThomasH mannequin added docs Documentation in the Doc dir type-bug An unexpected behavior, bug, or error labels Jul 22, 2008
    @rodolpho
    Copy link
    Mannequin

    rodolpho mannequin commented Mar 29, 2009

    I'm including 2.7, as it also has this documentation problem. The rest
    of the documentation is correct.

    I know there is still work to be done on bpo-4773, which might affect
    this doc.

    @rodolpho
    Copy link
    Mannequin

    rodolpho mannequin commented Mar 29, 2009

    Patch for 2.7.

    @birkenfeld
    Copy link
    Member

    Committed in r70907.

    @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

    1 participant