[issue15870] PyType_FromSpec should take metaclass as an argument
Steve Dower
report at bugs.python.org
Thu Sep 23 15:59:08 EDT 2021
Steve Dower <steve.dower at python.org> added the comment:
But at least if it's available as a slot then a module is *able* to use it with limited ABI going backwards. A new function doesn't allow that.
And yeah, it means they have to write more complex code than just a static array definition, but people are willing and able to do it.
I don't think there's anything about the current FromSpec that suggests all the parameters have to be interpreter-agnostic. And the design does suggest that we'll add more later without having to break the ABI (otherwise it would be a regular struct).
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue15870>
_______________________________________
More information about the Python-bugs-list
mailing list