[Python-Dev] Deprecating PyOS_ascii_formatd (original) (raw)

Benjamin Peterson benjamin at python.org
Fri Apr 24 23:17:19 CEST 2009


2009/4/24 Eric Smith <eric at trueblade.com>:

My proposal is to deprecate PyOSasciiformatd in 3.1 and remove it in 3.2. Having heard no dissent, I'd like to go ahead and deprecate this API. What are the mechanics of deprecating this? Just documentation, or is there something I should do in the code to generate a warning? Any pointers to examples would be great.

You can use PyErr_WarnEx().

-- Regards, Benjamin



More information about the Python-Dev mailing list