Skip to content

Change in behavior when overriding warnings.showwarning and with catch_warnings(record=True) #73021

@ThomasRobitaille

Description

@ThomasRobitaille
BPO 28835
Nosy @brettcannon, @ncoghlan, @vstinner, @ned-deily, @vadmium, @serhiy-storchaka, @JulienPalard
PRs
  • [Do Not Merge] Convert Misc/NEWS so that it is managed by towncrier #552
  • Files
  • warnings_fix.patch
  • warnings_fix-2.patch
  • warnings_fix-3.patch
  • showwarning-tidy.patch
  • 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/vstinner'
    closed_at = <Date 2016-12-06.22:16:58.728>
    created_at = <Date 2016-11-30.00:29:27.929>
    labels = ['type-bug', '3.7']
    title = 'Change in behavior when overriding warnings.showwarning and with catch_warnings(record=True)'
    updated_at = <Date 2017-03-31.16:36:16.924>
    user = 'https://bugs.python.org/ThomasRobitaille'

    bugs.python.org fields:

    activity = <Date 2017-03-31.16:36:16.924>
    actor = 'dstufft'
    assignee = 'vstinner'
    closed = True
    closed_date = <Date 2016-12-06.22:16:58.728>
    closer = 'ned.deily'
    components = []
    creation = <Date 2016-11-30.00:29:27.929>
    creator = 'Thomas.Robitaille'
    dependencies = []
    files = ['45767', '45768', '45769', '45775']
    hgrepos = []
    issue_num = 28835
    keywords = ['patch']
    message_count = 24.0
    messages = ['282056', '282184', '282458', '282476', '282477', '282480', '282483', '282484', '282491', '282492', '282493', '282509', '282512', '282513', '282515', '282516', '282563', '282570', '282571', '282646', '282657', '282725', '282734', '282758']
    nosy_count = 9.0
    nosy_names = ['brett.cannon', 'ncoghlan', 'vstinner', 'ned.deily', 'python-dev', 'martin.panter', 'serhiy.storchaka', 'Thomas.Robitaille', 'mdk']
    pr_nums = ['552']
    priority = None
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue28835'
    versions = ['Python 3.6', 'Python 3.7']

    Metadata

    Metadata

    Assignees

    Labels

    3.7 (EOL)end of lifetype-bugAn unexpected behavior, bug, or error

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions