[pypy-dev] Compat. in 1.4.1 __del__

Armin Rigo arigo at tunes.org
Sun Feb 6 12:57:06 CET 2011


Hi Alex,

On Sun, Feb 6, 2011 at 6:26 AM, Alex Gaynor <alex.gaynor at gmail.com> wrote:
>> Then you can change __del_ to whatever you want later.
>
> I think it'll work with pypy, *and* still trigger the warning, but that's
> from memory.

Just try it out then :-)  The answer is no.  You get a warning only if
a '__del__' entry is put in a class which didn't have one so far.


Armin



More information about the Pypy-dev mailing list