[Python-Dev] Re: 2.1a2 release issues; mail.python.org still down
Guido van Rossum
guido@digicool.com
Sun, 04 Feb 2001 23:41:20 -0500
> The warnings are at least as annoying as recompiling the
> extensions, even more since each and every imported extension
> will moan about the version difference ;-)
Hey, here's a suggestion for a solution then: change the
warning-issuing code to use the new PyErr_Warn() function!
Patch gratefully accepted on SourceForge.
Now, note that using "python -Werror" the user can cause these
warnings to be turned into errors, and since few modules test for
error returns from Py_InitModule(), this will likely cause core
dumps. However, note that there are other reasons why Py_InitModule()
can return NULL, so it really behooves us to test for an error return
anyway!
--Guido van Rossum (home page: http://www.python.org/~guido/)