[Python-Dev] Help with warnings not being raised (original) (raw)

Jesus Cea jcea at jcea.es
Mon Nov 8 13:59:09 CET 2010


-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1

On 05/11/10 13:55, Nick Coghlan wrote:

Under -We, PyErrWarn raises an exception rather than printing to stdout. That exception is clobbered by the immediately following call to PyErrClear. Since you only hit that branch under -We in the first place, a second call to PyErrWriteUnraisable should get the error to actually print out.

Excellent explanation, Nick. Thanks.

Patched in r86317. Up-ported to upcoming pybsddb 5.1.1.

PS: Bugs.python.org is still down.


Jesus Cea Avion // /// /// jcea at jcea.es - http://www.jcea.es/ // // // // // jabber / xmpp:jcea at jabber.org // // ///// . // // // // // "Things are not so easy" // // // // // // "My name is Dump, Core Dump" /// //_/ // // "El amor es poner tu felicidad en la felicidad de otro" - Leibniz -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQCVAwUBTNf0HZlgi5GaxT1NAQKSEwQAov31uECPVCEjxP7bns9VH4bz0HzXaAV7 VUeMxt8snK6/o6d8IowdoAGNR4MiSAkY0ww8IG9QQ/9919FMBD3kZs1+JNRcTWu3 RLN2kLvE6g+reV+M6tRqnMYwuxXiq4MhBgZZrnB6DA//buIbjOaLTVcL6ABDEMVc ULj2g0TN0mA= =h6DP -----END PGP SIGNATURE-----



More information about the Python-Dev mailing list