supressing warning message?

Jeff Epler jepler at
Thu Jul 29 03:37:58 CEST 2004

While I haven't tested this to be sure, "RuntimeWarning" suggests that
this message is coming from the regular warnings machinery.  Routines in
the "warnings" module let you silence these warnings.

Here's a brute-force way to silence all warnings:
    import warnings; warnings.filterwarnings('ignore')
you might want to use something a little more targeted.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
URL: <>

More information about the Python-list mailing list