[Python-Dev] Re: @deprecated
Michael Hudson
mwh at python.net
Wed Mar 9 13:55:42 CET 2005
"Irmen de Jong" <irmen at xs4all.nl> writes:
> 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.
Yeah, that's what I meant to say, even if it wasn't what I said :)
Cheers,
mwh
--
LINTILLA: You could take some evening classes.
ARTHUR: What, here?
LINTILLA: Yes, I've got a bottle of them. Little pink ones.
-- The Hitch-Hikers Guide to the Galaxy, Episode 12
More information about the Python-Dev
mailing list