[Python-Dev] Deprecating C APIs (Use of PyArg_NoArgs())

Martin v. Loewis martin@v.loewis.de
03 Apr 2002 00:38:44 +0200

Guido van Rossum <guido@python.org> writes:

> That's what I wanted, but now that you mention it I'm not sure if the
> warning module can currrently detect from which module a particular C
> API is called -- it'll probably put the blame on a particular line in
> the user's code, and then repeat the warning for each *different* line
> of user code.

What *could* be done, of course, is to give the warning at most once.