Package: python2.5 Version: 2.5.2-11.1 Severity: normal Tags: patch
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 (filed bugreport), 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. -- System Information: Debian Release: squeeze/sid APT prefers unstable APT policy: (990, 'unstable'), (500, 'stable'), (300, 'experimental') Architecture: i386 (i686) Kernel: Linux 2.6.26-1-686 (SMP w/2 CPU cores) Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968) Shell: /bin/sh linked to /bin/bash Versions of packages python2.5 depends on: ii libbz2-1.0 1.0.5-1 high-quality block-sorting file co ii libc6 2.9-4 GNU C Library: Shared libraries ii libdb4.5 4.5.20-12 Berkeley v4.5 Database Libraries [ ii libncursesw5 5.7+20090228-1 shared libraries for terminal hand ii libreadline5 5.2-3 GNU readline and history libraries ii libsqlite3-0 3.5.9-6 SQLite 3 shared library ii libssl0.9.8 0.9.8g-15 SSL shared libraries ii mime-support 3.44-1 MIME files 'mime.types' & 'mailcap ii python2.5-minimal 2.5.2-11.1 A minimal subset of the Python lan python2.5 recommends no packages. Versions of packages python2.5 suggests: ii python-profiler 2.5.2-1 deterministic profiling of any Pyt ii python2.5-doc 2.5.4-1 Documentation for the high-level o -- no debconf information -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]

