[Python-Dev] Re: @deprecated

Irmen de Jong irmen at xs4all.nl
Wed Mar 9 13:53:01 CET 2005


mwh wrote:


> One difference: I imagine (hope!) the java compiler would complain if
> the deprecated function is referenced, whereas the python version only
> complains if it is called...

The java compiler actually already produces deprecation warnings
during the *compilation phase* (when used with the -deprecation option).
During runtime, no warnings are produced.

Grtz, Irmen.



More information about the Python-Dev mailing list