Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
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']
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.
Déjà vu. Maybe duplicate of bpo-34624?
yes, this is a duplicate.
Activity
nikratio commentedon Oct 7, 2018
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.
vadmium commentedon Oct 7, 2018
Déjà vu. Maybe duplicate of bpo-34624?
nikratio commentedon Oct 7, 2018
yes, this is a duplicate.