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

2010-10-27 Thread Georg Brandl
Changes by Georg Brandl ge...@python.org: -- resolution: - works for me status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5688 ___

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

2009-04-05 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: I don't really understand this; first, the regex doesn't have to match the entire warning message (and I hope the important things are in the first line, otherwise the warning message is bad) and second, it's always possible to use ``(.|\n)``

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

2009-04-04 Thread Matthias Klose
New submission from Matthias Klose d...@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,