I do have a plan to solve that problem, it involves adding about 24 more bytes to PyTypeObject, but it would allow Python to track offset from base object, total object size and best alignment value.
_______________________________________________ Python-ideas mailing list -- python-ideas@python.org To unsubscribe send an email to python-ideas-le...@python.org https://mail.python.org/mailman3/lists/python-ideas.python.org/ Message archived at https://mail.python.org/archives/list/python-ideas@python.org/message/NBNUBJOF4YD3535AW2LGGGPK7S3GPPDW/ Code of Conduct: http://python.org/psf/codeofconduct/