Neil Schemenauer <nas-pyt...@arctrix.com> added the comment:

> Is introducing tp_clear on functions a thing that has ABI consequences? In 
> other words, if we take our time on this, would it land in 3.8.1 or 3.9.0?

I think it should not have ABI consequences.  However, I see the addition of 
tp_clear as a new feature.  Leaking memory due to reference cycles is bad 
behavior but not a bug to be fixed in a maintenance release.  Unless we require 
full GC protocol on every container object, we can't promise not to leak.

Inaka's change to add func tp_clear has been in all the 3.8.0 pre-releases (I 
think).  So, it should be pretty well exercised by now (at least, as well as 
the per-releases are tested).

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue38006>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to