[issue42451] Indicate in the docs that PyTuple_GetItem does not support negative indices

2020-11-30 Thread Antony Lee
Change by Antony Lee : -- nosy: -Antony.Lee ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue42451] Indicate in the docs that PyTuple_GetItem does not support negative indices

2020-11-30 Thread STINNER Victor
Change by STINNER Victor : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue42451] Indicate in the docs that PyTuple_GetItem does not support negative indices

2020-11-30 Thread STINNER Victor
STINNER Victor added the comment: New changeset 9f004634a2bf50c782e223e2eb386ffa769b901c by Yasser A in branch 'master': bpo-42451: Indicate that PyTuple_GetItem does not support negative indices (GH-23529) https://github.com/python/cpython/commit/9f004634a2bf50c782e223e2eb386ffa769b901c

[issue42451] Indicate in the docs that PyTuple_GetItem does not support negative indices

2020-11-26 Thread Yasser Alshalaan
Change by Yasser Alshalaan : -- keywords: +patch nosy: +Yasser Alshalaan nosy_count: 2.0 -> 3.0 pull_requests: +22411 stage: -> patch review pull_request: https://github.com/python/cpython/pull/23529 ___ Python tracker

[issue42451] Indicate in the docs that PyTuple_GetItem does not support negative indices

2020-11-24 Thread Antony Lee
New submission from Antony Lee : Unlike `PySequence_GetItem`, `PyTuple_GetItem` does not support negative indices ("indexing from the end"). That is fine, but warrants a notice in the docs (as that behavior is certainly not obvious). The same wording as for `PyList_GetItem` (changing "list"