Skip to content

warnings: -W option and PYTHONWARNINGS now use the message as a regex #88028

@vstinner

Description

@vstinner
BPO 43862
Nosy @vstinner, @tirkarthi
PRs
  • bpo-43862: Enhance -W cmdline option documentation #25439
  • Superseder
  • bpo-34624: -W option and PYTHONWARNINGS env variable does not accept module regexes
  • 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-13.23:28:26.708>
    created_at = <Date 2021-04-16.13:06:47.083>
    labels = ['library', '3.10']
    title = 'warnings: -W option and PYTHONWARNINGS now use the message as a regex'
    updated_at = <Date 2021-12-13.23:28:26.707>
    user = 'https://github.com/vstinner'

    bugs.python.org fields:

    activity = <Date 2021-12-13.23:28:26.707>
    actor = 'vstinner'
    assignee = 'none'
    closed = True
    closed_date = <Date 2021-12-13.23:28:26.708>
    closer = 'vstinner'
    components = ['Library (Lib)']
    creation = <Date 2021-04-16.13:06:47.083>
    creator = 'vstinner'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 43862
    keywords = ['patch']
    message_count = 7.0
    messages = ['391190', '391193', '391194', '391198', '391233', '391588', '408497']
    nosy_count = 2.0
    nosy_names = ['vstinner', 'xtreak']
    pr_nums = ['25439']
    priority = 'normal'
    resolution = 'duplicate'
    stage = 'resolved'
    status = 'closed'
    superseder = '34624'
    type = None
    url = 'https://bugs.python.org/issue43862'
    versions = ['Python 3.10']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      3.10only security fixesstdlibStandard Library Python modules in the Lib/ directory

      Projects

      No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions