[issue47261] RFC: Clarify Limited API macros for PySequence_Fast

2022-04-08 Thread Rohit Goswami
Rohit Goswami 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 clari

[issue47261] RFC: Clarify Limited API macros for PySequence_Fast

2022-04-08 Thread Rohit Goswami
Change by Rohit Goswami : -- assignee: -> docs@python components: +C API, Documentation nosy: +docs@python ___ Python tracker ___ _

[issue47261] RFC: Clarify Limited API macros for PySequence_Fast

2022-04-08 Thread Rohit Goswami
New submission from Rohit Goswami : The `current documentation`_ of the Python-C API mentions that ``PySequence_Fast`` is part of the limited API. However, this may be a typo as all the functions interacting with a ``PySequence_Fast`` object are macros, e.g. `PySequence_Fast_GET_SIZE`, `PySeq