Skip to content

The new import system makes it inconvenient to correctly issue a deprecation warning for a module #68493

Closed
@njsmith

Description

@njsmith
BPO 24305
Nosy @warsaw, @brettcannon, @ncoghlan, @larryhastings, @jwilk, @njsmith, @ericsnowcurrently, @takluyver, @berkerpeksag, @zware, @serhiy-storchaka, @MojoVampire
Files
  • issue24305.diff: Skip internal CPython implementation frames
  • issue24305.diff
  • issue24305.diff: Hybrid Nathaniel/Brett approach
  • issue24305.diff: Subtly buggy C implementation
  • issue24305.diff
  • issue24305.diff: Passes all tests, Python and C
  • 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-09-06.07:51:11.529>
    created_at = <Date 2015-05-27.23:36:49.752>
    labels = ['type-bug', 'library', 'release-blocker']
    title = 'The new import system makes it inconvenient to correctly issue a deprecation warning for a module'
    updated_at = <Date 2015-09-07.05:38:03.473>
    user = 'https://github.com/njsmith'

    bugs.python.org fields:

    activity = <Date 2015-09-07.05:38:03.473>
    actor = 'python-dev'
    assignee = 'brett.cannon'
    closed = True
    closed_date = <Date 2015-09-06.07:51:11.529>
    closer = 'larry'
    components = ['Library (Lib)']
    creation = <Date 2015-05-27.23:36:49.752>
    creator = 'njs'
    dependencies = []
    files = ['40187', '40199', '40211', '40233', '40286', '40287']
    hgrepos = []
    issue_num = 24305
    keywords = ['patch', '3.2regression']
    message_count = 40.0
    messages = ['244225', '244232', '244247', '244259', '244302', '244310', '244390', '244448', '248602', '248603', '248605', '248609', '248617', '248635', '248670', '248750', '248814', '248918', '248937', '249011', '249088', '249089', '249090', '249091', '249092', '249151', '249306', '249622', '249666', '249687', '249907', '249978', '249980', '249981', '249984', '249985', '249986', '249987', '249988', '250069']
    nosy_count = 14.0
    nosy_names = ['barry', 'brett.cannon', 'ncoghlan', 'larry', 'jwilk', 'Arfrever', 'njs', 'python-dev', 'eric.snow', 'takluyver', 'berker.peksag', 'zach.ware', 'serhiy.storchaka', 'josh.r']
    pr_nums = []
    priority = 'release blocker'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue24305'
    versions = ['Python 3.5', 'Python 3.6']

    Metadata

    Metadata

    Assignees

    Labels

    release-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