Skip to content

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

Closed

Description

@ThomasH
mannequin
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']

    Activity

    1. ThomasH commented on Jul 22, 2008

      ThomasHmannequin
      MannequinAuthor

      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.

    2. added
      docsDocumentation in the Doc dir
      type-bugAn unexpected behavior, bug, or error
      on Jul 22, 2008
    3. rodolpho commented on Mar 29, 2009

      rodolphomannequin
      Mannequin

      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.

    4. rodolpho commented on Mar 29, 2009

      rodolphomannequin
      Mannequin

      Patch for 2.7.

    5. birkenfeld commented on Mar 31, 2009

      @birkenfeld
      Member

      Committed in r70907.

    6. transferred this issue fromon Apr 10, 2022
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

    Metadata

    Metadata

    Assignees

    Labels

    docsDocumentation in the Doc dirtype-bugAn unexpected behavior, bug, or error

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions