On Fri, Nov 5, 2010 at 11:12 AM, Jesus Cea <j...@jcea.es> wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > On 05/11/10 01:36, Benjamin Peterson wrote: >>> I don't know why. >> >> Are you passing -3 -Wall? > > I am passing "-3 -Werror", to induce the error control I have committed.
Under -We, PyErr_Warn raises an exception rather than printing to stdout. That exception is clobbered by the immediately following call to PyErr_Clear. Since you *only* hit that branch under -We in the first place, a second call to PyErr_WriteUnraisable should get the error to actually print out. Cheers, Nick. -- Nick Coghlan | ncogh...@gmail.com | Brisbane, Australia _______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com