On 06/13/2010 03:54 PM, moerchendiser2k3 wrote:
> Hi,
> 
> can anyone give me a hint how to mark a built-in module as deprecated?
> So mark via warnings... I create a module with Py_InitModule4.

How are modules ever marked as deprecated? I think all there is to it is
issuing a DeprecationWarning... something  like

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

maybe.
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to