On Sat, 11 Apr 2020 01:52:13 +0200 Victor Stinner <vstin...@python.org> wrote: > > By the way, CPython currently uses statically allocated types for > builtin types like str or list. This may have to change to run > efficiently multiple subinterepters in parallel: each subinterpeter > should have its own heap-allocated type with its own reference > counter. > > Using heap allocated types means that PyUnicode_Check() implementation > has to change. It's just another good reason to better hide > PyUnicode_Check() implementation right now ;-)
I'm not sure I understand. If PyUnicode_Check() uses tp_flags, it doesn't have to change, precisely. Regards Antoine. _______________________________________________ Python-Dev mailing list -- python-dev@python.org To unsubscribe send an email to python-dev-le...@python.org https://mail.python.org/mailman3/lists/python-dev.python.org/ Message archived at https://mail.python.org/archives/list/python-dev@python.org/message/QKBWU2IQSGYKSU3SQZ5N25KJ47ZDXOIE/ Code of Conduct: http://python.org/psf/codeofconduct/