[Python-Dev] Interface to change Py3kWarning in Python

Benjamin Peterson musiccomposition at gmail.com
Fri Apr 18 04:24:29 CEST 2008

I currently have a patch to make it possible to change py3k warnings
in Python through new functions in sys: issue 2458. I realize the
functions are rather ugly, but I don't think there is another
practical way to do it unless you want to be writing PySys_GetObject
and checking it for NULL whenever you add a Py3k warning.

Benjamin Peterson

More information about the Python-Dev mailing list