Mark built-in module as deprecated

moerchendiser2k3 googler.1.webmaster at spamgourmet.com
Sun Jun 13 20:30:09 EDT 2010


PyErr_WarnEx(PyExc_DeprecationWarning, "foo deprecated. use fuzz",
1);

But where can I write this? With Py_InitModule4 I can just
pass a list of functions but no real execution part which
is executed when a module is imported.



More information about the Python-list mailing list