Skip to content

-W option and PYTHONWARNINGS env variable does not accept module regexes #78805

@coldfix

Description

@coldfix
mannequin
BPO 34624
Nosy @ncoghlan, @vstinner, @blueyed, @tiran, @nedbat, @mpaolini, @kernc, @tirkarthi, @coldfix, @kevinoid
PRs
  • bpo-34624: Allow regex for module passed via -W or PYTHONWARNINGS #9358
  • 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 = None
    closed_at = <Date 2021-12-20.13:04:35.484>
    created_at = <Date 2018-09-10.23:36:34.750>
    labels = ['type-feature', 'library', '3.11']
    title = '-W option and PYTHONWARNINGS env variable does not accept module regexes'
    updated_at = <Date 2022-03-12.09:00:18.988>
    user = 'https://github.com/coldfix'

    bugs.python.org fields:

    activity = <Date 2022-03-12.09:00:18.988>
    actor = 'kevinoid'
    assignee = 'none'
    closed = True
    closed_date = <Date 2021-12-20.13:04:35.484>
    closer = 'coldfix'
    components = ['Library (Lib)']
    creation = <Date 2018-09-10.23:36:34.750>
    creator = 'coldfix'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 34624
    keywords = ['patch', 'security_issue']
    message_count = 16.0
    messages = ['324959', '324960', '324997', '325538', '328648', '328650', '336646', '348202', '373358', '373536', '373669', '408305', '408496', '408498', '408499', '408959']
    nosy_count = 11.0
    nosy_names = ['ncoghlan', 'vstinner', 'blueyed', 'christian.heimes', 'nedbat', 'mpaolini', 'kernc', 'xtreak', 'coldfix', 'kevinoid', 'Yongjik Kim']
    pr_nums = ['9358', '23172']
    priority = 'normal'
    resolution = None
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'enhancement'
    url = 'https://bugs.python.org/issue34624'
    versions = ['Python 3.11']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      3.11only security fixesstdlibStandard Library Python modules in the Lib/ directorytype-featureA feature request or enhancement

      Projects

      No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions