Skip to content

Add a default filter for DeprecationWarning in __main__ #76156

@ncoghlan

Description

@ncoghlan
BPO 31975
Nosy @gvanrossum, @warsaw, @ncoghlan, @pitrou, @merwok, @alex, @bitdancer, @kevinoid
PRs
  • bpo-31975 (PEP 565): Show DeprecationWarning in __main__ #4458
  • bpo-42272: fix misleading warning filter message/module docs #23172
  • 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/ncoghlan'
    closed_at = <Date 2018-01-08.02:45:38.174>
    created_at = <Date 2017-11-08.02:55:09.027>
    labels = ['type-feature', '3.7']
    title = 'Add a default filter for DeprecationWarning in __main__'
    updated_at = <Date 2022-03-12.06:32:30.191>
    user = 'https://github.com/ncoghlan'

    bugs.python.org fields:

    activity = <Date 2022-03-12.06:32:30.191>
    actor = 'kevinoid'
    assignee = 'ncoghlan'
    closed = True
    closed_date = <Date 2018-01-08.02:45:38.174>
    closer = 'ncoghlan'
    components = []
    creation = <Date 2017-11-08.02:55:09.027>
    creator = 'ncoghlan'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 31975
    keywords = ['patch']
    message_count = 34.0
    messages = ['305801', '305804', '305812', '305835', '305925', '305926', '305928', '305929', '305930', '305940', '305945', '305967', '305968', '306003', '306073', '306081', '306096', '306097', '306098', '306099', '306102', '306103', '306105', '306106', '306107', '306109', '306110', '306125', '306131', '306134', '306135', '306136', '309618', '309658']
    nosy_count = 8.0
    nosy_names = ['gvanrossum', 'barry', 'ncoghlan', 'pitrou', 'eric.araujo', 'alex', 'r.david.murray', 'kevinoid']
    pr_nums = ['4458', '23172']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'enhancement'
    url = 'https://bugs.python.org/issue31975'
    versions = ['Python 3.7']

    Metadata

    Metadata

    Assignees

    Labels

    3.7 (EOL)end of lifetype-featureA feature request or enhancement

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions