Skip to content

platform.linux_distribution() improperly documented #49534

Closed

Description

@mitsuhiko
BPO 5284
Nosy @malemburg, @mitsuhiko

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/malemburg'
closed_at = <Date 2009-02-17.12:50:21.156>
created_at = <Date 2009-02-16.21:41:12.913>
labels = ['easy', 'type-bug', 'docs']
title = 'platform.linux_distribution() improperly documented'
updated_at = <Date 2009-02-17.12:50:21.156>
user = 'https://github.com/mitsuhiko'

bugs.python.org fields:

activity = <Date 2009-02-17.12:50:21.156>
actor = 'lemburg'
assignee = 'lemburg'
closed = True
closed_date = <Date 2009-02-17.12:50:21.156>
closer = 'lemburg'
components = ['Documentation']
creation = <Date 2009-02-16.21:41:12.913>
creator = 'aronacher'
dependencies = []
files = []
hgrepos = []
issue_num = 5284
keywords = ['easy']
message_count = 3.0
messages = ['82273', '82306', '82334']
nosy_count = 2.0
nosy_names = ['lemburg', 'aronacher']
pr_nums = []
priority = 'normal'
resolution = None
stage = None
status = 'closed'
superseder = None
type = 'behavior'
url = 'https://bugs.python.org/issue5284'
versions = ['Python 2.7']

Activity

  1. mitsuhiko commented on Feb 16, 2009

    @mitsuhiko
    MemberAuthor

    platform.linux_distribution() was added in 2.6 as an alias for
    platform.dist(). However the documentation lists platform.dist() as an
    alias for platform.linux_distribution() and there is no information that
    the latter appered in 2.6 whereas the former exists since 2.4 I think.

    Not sure what the fix is, but it should be documented properly with "..
    versionadded:: 2.6".

  2. added
    docsDocumentation in the Doc dir
    type-bugAn unexpected behavior, bug, or error
    on Feb 16, 2009
  3. malemburg commented on Feb 17, 2009

    @malemburg
    Member

    On 2009-02-16 22:42, Armin Ronacher wrote:

    New submission from Armin Ronacher <armin.ronacher@active-4.com>:

    platform.linux_distribution() was added in 2.6 as an alias for
    platform.dist(). However the documentation lists platform.dist() as an
    alias for platform.linux_distribution() and there is no information that
    the latter appered in 2.6 whereas the former exists since 2.4 I think.

    Not sure what the fix is, but it should be documented properly with "..
    versionadded:: 2.6".

    Note that dist() redirects to linux_distribution(), not the other
    way around.

    I'll add the versionadded tags and also clarify the dist() documentation:
    it's missing a comment that full_distribution_name is set to false
    when redirecting to linux_distribution().

  4. malemburg commented on Feb 17, 2009

    @malemburg
    Member

    Fixed in r69717.

  5. 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 direasytype-bugAn unexpected behavior, bug, or error

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions