GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — PYTHONWARNINGS entries are escaped · Issue #79101 · python/cpython

PYTHONWARNINGS entries are escaped #79101

New issue
Copy link
New issue
Copy link
Closed
Closed
PYTHONWARNINGS entries are escaped#79101
Copy link
Labels
3.8 (EOL)end of lifeend of lifestdlibStandard Library Python modules in the Lib/ directoryStandard Library Python modules in the Lib/ directorytype-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error

Description

nikratio
mannequin
opened on Oct 7, 2018
Issue body actions
BPO 34920
Nosy @vadmium
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 2018-10-13.03:20:39.362>
    created_at = <Date 2018-10-07.10:30:17.438>
    labels = ['3.8', 'type-bug', 'library']
    title = 'PYTHONWARNINGS entries are escaped'
    updated_at = <Date 2018-10-13.03:20:39.362>
    user = 'https://bugs.python.org/nikratio'

    bugs.python.org fields:

    activity = <Date 2018-10-13.03:20:39.362>
    actor = 'martin.panter'
    assignee = 'none'
    closed = True
    closed_date = <Date 2018-10-13.03:20:39.362>
    closer = 'martin.panter'
    components = ['Library (Lib)']
    creation = <Date 2018-10-07.10:30:17.438>
    creator = 'nikratio'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 34920
    keywords = []
    message_count = 3.0
    messages = ['327272', '327276', '327278']
    nosy_count = 2.0
    nosy_names = ['nikratio', 'martin.panter']
    pr_nums = []
    priority = 'normal'
    resolution = 'duplicate'
    stage = 'resolved'
    status = 'closed'
    superseder = '34624'
    type = 'behavior'
    url = 'https://bugs.python.org/issue34920'
    versions = ['Python 3.8']

    Activity

    1. nikratio commented on Oct 7, 2018

      @nikratio
      nikratiomannequin
      on Oct 7, 2018
      MannequinAuthor
      More actions

      According to https://docs.python.org/3/library/warnings.html#describing-warning-filters:

      "The meaning of each of these fields [of PYTHONWARNINGS] is as described in <The Warnings Filter>."

      The description of the "The Warnings filter" says

      "module is a string containing a regular expression that the module name must match."

      However, when parsing PYTHONWARNINGS, the warnings module explicitly escapes the module field.

    2. nikratio
      added
      3.8 (EOL)end of lifeend of life
      stdlibStandard Library Python modules in the Lib/ directoryStandard Library Python modules in the Lib/ directory
      type-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error
      on Oct 7, 2018
    3. vadmium commented on Oct 7, 2018

      @vadmium
      vadmium
      on Oct 7, 2018
      Member
      More actions

      Déjà vu. Maybe duplicate of bpo-34624?

    4. nikratio commented on Oct 7, 2018

      @nikratio
      nikratiomannequin
      on Oct 7, 2018
      MannequinAuthor
      More actions

      yes, this is a duplicate.

    5. vadmium
      closed this as completedon Oct 13, 2018
    6. ezio-melotti
      transferred this issue fromon Apr 10, 2022
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      3.8 (EOL)end of lifeend of lifestdlibStandard Library Python modules in the Lib/ directoryStandard Library Python modules in the Lib/ directorytype-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error

      Projects

      No projects

        Milestone

        No milestone

        Relationships

        None yet

        Development

        No branches or pull requests

        Issue actions

        You are visitor 01402503 — GeezerVison does not store the pages you look up.
        Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.