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

Change formatter warning to DeprecationWarning in 3.5 #63364

Closed
brettcannon opened this issue Oct 4, 2013 · 4 comments
Closed

Change formatter warning to DeprecationWarning in 3.5 #63364

brettcannon opened this issue Oct 4, 2013 · 4 comments
Assignees
Labels
stdlib Python modules in the Lib dir type-feature A feature request or enhancement

Comments

@brettcannon
Copy link
Member

BPO 19165
Nosy @brettcannon, @ezio-melotti, @bitdancer, @berkerpeksag
Dependencies
  • bpo-18716: Deprecate the formatter module
  • 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/brettcannon'
    closed_at = <Date 2014-03-21.14:52:33.457>
    created_at = <Date 2013-10-04.15:40:15.322>
    labels = ['type-feature', 'library']
    title = 'Change formatter warning to DeprecationWarning in 3.5'
    updated_at = <Date 2014-03-21.14:52:33.457>
    user = 'https://github.com/brettcannon'

    bugs.python.org fields:

    activity = <Date 2014-03-21.14:52:33.457>
    actor = 'brett.cannon'
    assignee = 'brett.cannon'
    closed = True
    closed_date = <Date 2014-03-21.14:52:33.457>
    closer = 'brett.cannon'
    components = ['Library (Lib)']
    creation = <Date 2013-10-04.15:40:15.322>
    creator = 'brett.cannon'
    dependencies = ['18716']
    files = []
    hgrepos = []
    issue_num = 19165
    keywords = []
    message_count = 4.0
    messages = ['199214', '199280', '199310', '214373']
    nosy_count = 6.0
    nosy_names = ['brett.cannon', 'ezio.melotti', 'r.david.murray', 'python-dev', 'berker.peksag', 'Esa.Peuha']
    pr_nums = []
    priority = 'normal'
    resolution = 'fixed'
    stage = 'needs patch'
    status = 'closed'
    superseder = None
    type = 'enhancement'
    url = 'https://bugs.python.org/issue19165'
    versions = ['Python 3.5']

    @brettcannon brettcannon self-assigned this Oct 4, 2013
    @brettcannon brettcannon added the stdlib Python modules in the Lib dir label Oct 4, 2013
    @ezio-melotti ezio-melotti added the type-feature A feature request or enhancement label Oct 5, 2013
    @bitdancer
    Copy link
    Member

    You two may know what this is about, but I have no clue :) A few more details would help if someone wants to try their hand at a patch.

    @EsaPeuha
    Copy link
    Mannequin

    EsaPeuha mannequin commented Oct 9, 2013

    The wanted patch seems to be very simple: change PendingDeprecationWarning to DeprecationWarning on line 24 of Lib/formatter.py but only for Python 3.5 (i.e. no need to do anything until 3.4 is released).

    On a related note, should formatter be added to PEP-4?

    @brettcannon
    Copy link
    Member Author

    Esa is right; this is a placeholder bug to remind me to do this in Python 3.5.

    And Esa is also right about adding formatter to PEP-4; I'll reopen the original bug to remind me to do that.

    @python-dev
    Copy link
    Mannequin

    python-dev mannequin commented Mar 21, 2014

    New changeset 455e5385752a by Brett Cannon in branch 'default':
    Issue bpo-19165: The formatter module graduates to full deprecation.
    http://hg.python.org/cpython/rev/455e5385752a

    @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
    stdlib Python modules in the Lib dir type-feature A feature request or enhancement
    Projects
    None yet
    Development

    No branches or pull requests

    3 participants