Skip to content

Suboptimal stacklevel of deprecation warnings for formatter and imp modules #67998

Closed
@Arfrever

Description

@Arfrever
mannequin
BPO 23810
Nosy @brettcannon, @ncoghlan, @larryhastings, @ericsnowcurrently, @berkerpeksag, @serhiy-storchaka
Superseder
  • bpo-24305: The new import system makes it inconvenient to correctly issue a deprecation warning for a module
  • Files
  • better_stacklevel.diff
  • deprecated_module_stacklevel.diff
  • 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 2015-08-14.18:18:33.979>
    created_at = <Date 2015-03-30.01:54:14.679>
    labels = ['deferred-blocker', 'type-bug', 'library']
    title = 'Suboptimal stacklevel of deprecation warnings for formatter and imp modules'
    updated_at = <Date 2015-08-14.18:18:57.969>
    user = 'https://bugs.python.org/Arfrever'

    bugs.python.org fields:

    activity = <Date 2015-08-14.18:18:57.969>
    actor = 'brett.cannon'
    assignee = 'brett.cannon'
    closed = True
    closed_date = <Date 2015-08-14.18:18:33.979>
    closer = 'brett.cannon'
    components = ['Library (Lib)']
    creation = <Date 2015-03-30.01:54:14.679>
    creator = 'Arfrever'
    dependencies = []
    files = ['39196', '39550']
    hgrepos = []
    issue_num = 23810
    keywords = ['patch']
    message_count = 11.0
    messages = ['239554', '239607', '239610', '241944', '241968', '242015', '244260', '244304', '244396', '246285', '248600']
    nosy_count = 7.0
    nosy_names = ['brett.cannon', 'ncoghlan', 'larry', 'Arfrever', 'eric.snow', 'berker.peksag', 'serhiy.storchaka']
    pr_nums = []
    priority = 'deferred blocker'
    resolution = 'duplicate'
    stage = 'patch review'
    status = 'closed'
    superseder = '24305'
    type = 'behavior'
    url = 'https://bugs.python.org/issue23810'
    versions = ['Python 3.5', 'Python 3.6']

    Metadata

    Metadata

    Assignees

    Labels

    deferred-blockerstdlibPython modules in the Lib dirtype-bugAn unexpected behavior, bug, or error

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions