[issue47261] RFC: Clarify Limited API macros for PySequence_Fast
Rohit Goswami
report at bugs.python.org
Fri Apr 8 11:18:43 EDT 2022
Rohit Goswami <rog32 at hi.is> added the comment:
Perhaps to be clear, there are two possibilities:
1. `PySequence_Fast` should be removed from the Limited API
2. All macros used with `PySequence_Fast` are valid for use in the context of the Limited API
In either case the documentation should need to be clarified.
The only situation where no changes would result is if:
- `PySequence_Fast` is part of the Limited API, but must be treated the same as a regular `PySequence` object
+ Since only `PySequence_Size` and other variants can be used in the context of the Limited API
This is actually also still confusing and should be mentioned clearly.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue47261>
_______________________________________
More information about the Python-bugs-list
mailing list