STINNER Victor <vstin...@python.org> added the comment:

(Trashcan is somehow off-topic here, but let me comment anyway ;-))

> See for example _PyTrash_deposit_object.

I know that this one is kept for ABI backward compatibility... but the TRASHCAN 
API is excluded from the limited API. So I'm not sure that it is worth it to 
keep _PyTrash_deposit_object() in the ABI.

I modified the TRASHCAN API in Python 3.9 to no longer leak implementation 
details (access PyThreadState structure fields). The implementation now only 
uses function calls.

=> commit 38965ec5411da60d312b59be281f3510d58e0cf1

----------

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

Reply via email to