[I followed Greg's suggestion and proposed a "deprecated" decorator.]
Raymond writes:
> Decorators like this should preserve information about the underlying
> function
Of course! The version I posted was intended to illustrate the idea, not
to be a clean implementation. A long time ago, I propos
"Irmen de Jong" <[EMAIL PROTECTED]> 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 deprecatio
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 wi