[issue35983] tp_dealloc trashcan shouldn't be called for subclasses

Eric Snow report at bugs.python.org
Wed Feb 13 11:28:05 EST 2019


Eric Snow <ericsnowcurrently at gmail.com> added the comment:

On Wed, Feb 13, 2019 at 8:42 AM Antoine Pitrou <report at bugs.python.org> wrote:
> Antoine Pitrou <pitrou at free.fr> added the comment:
>
> By "relatively new thing", you mean less than 20 years old? :-)

Yeah, looks like it was in the 2.2 release (Dec 2001) for PEP 253.
Anyway, I know of several core devs who are still opposed to
subclassing builtin types. :)

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue35983>
_______________________________________


More information about the Python-bugs-list mailing list