[New-bugs-announce] [issue5688] inability to ignore multiline warnings -- request to add re.DOTALL to re.compile

Matthias Klose report at bugs.python.org
Sat Apr 4 17:29:21 CEST 2009


New submission from Matthias Klose <doko at debian.org>:

[forwarded from http://bugs.debian.org/519454]

"""
As of now, warnings.py provides only re.I flag to re.compile on
warnings.py:160.  Recent python-numpy issues way too many warnings, I
was trying to filter them out using warnings.filterwarnings, but was
unable to filter out multiline warning (numpy.histogram).  Adding
re.DOTALL to re.I should help to resolve the problem and allow users to
match also multiline warning messages.
"""

----------
messages: 85402
nosy: doko
severity: normal
status: open
title: inability to ignore multiline warnings -- request to add re.DOTALL to re.compile
type: feature request

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue5688>
_______________________________________


More information about the New-bugs-announce mailing list