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

> "static inline" functions are not opaque

I'm well aware of that :-) But once the CPython code base will stop accessing 
directly PyObject fields directly, it would become possible to experiment 
changing PyObject layout, at least testing it in CPython.

First changes are just to prepare the code base to experiment the real change. 
But as Serhiy pointed out, the second part will have an impact on performance 
and so should be carefully benchmarked to balance advantages and drawbacks, 
even if it's only done in the limited C API.

----------

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

Reply via email to