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

[EASY DOC] Python 2: document that platform.linux_distribution() has been removed #77781

Closed
vstinner opened this issue May 22, 2018 · 2 comments
Labels
docs Documentation in the Doc dir easy

Comments

@vstinner
Copy link
Member

BPO 33600
Nosy @vstinner
PRs
  • [2.7] bpo-33600: document that platform.linux_distribution() has been removed #7281
  • 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 2018-06-05.21:55:22.908>
    created_at = <Date 2018-05-22.13:05:21.385>
    labels = ['easy', 'docs']
    title = '[EASY DOC] Python 2: document that platform.linux_distribution() has been removed'
    updated_at = <Date 2018-06-05.21:55:22.908>
    user = 'https://github.com/vstinner'

    bugs.python.org fields:

    activity = <Date 2018-06-05.21:55:22.908>
    actor = 'vstinner'
    assignee = 'docs@python'
    closed = True
    closed_date = <Date 2018-06-05.21:55:22.908>
    closer = 'vstinner'
    components = ['Documentation']
    creation = <Date 2018-05-22.13:05:21.385>
    creator = 'vstinner'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 33600
    keywords = ['patch', 'easy']
    message_count = 2.0
    messages = ['317275', '318782']
    nosy_count = 2.0
    nosy_names = ['vstinner', 'docs@python']
    pr_nums = ['7281']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = None
    url = 'https://bugs.python.org/issue33600'
    versions = ['Python 2.7']

    @vstinner
    Copy link
    Member Author

    The platform.linux_distribution() function has been removed from the future Python 3.8. The removal should be documented in Python 2.7 documentation, and mention the alternative.

    Python 2 documenation:
    https://docs.python.org/2/library/platform.html#platform.linux_distribution

    Python 3 documentation with the deprecation warning:
    https://docs.python.org/3/library/platform.html#platform.linux_distribution

    IMHO it's too late to deprecate the function from Python 2. We should only add a quick note.

    Function removed in: bpo-28167.

    @vstinner vstinner added docs Documentation in the Doc dir easy labels May 22, 2018
    @vstinner
    Copy link
    Member Author

    vstinner commented Jun 5, 2018

    New changeset 7b9b87e by Victor Stinner (Timo Furrer) in branch '2.7':
    bpo-33600: document that platform.linux_distribution() has been removed (GH-7281)
    7b9b87e

    @vstinner vstinner closed this as completed Jun 5, 2018
    @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 easy
    Projects
    None yet
    Development

    No branches or pull requests

    1 participant