◐ Shell
clean mode source ↗

gh-111138: Add PyList_Extend() and PyList_Clear() functions by vstinner · Pull Request #111862 · python/cpython

serhiy-storchaka

eendebakpt

pitrou

pitrou

pitrou

serhiy-storchaka

serhiy-storchaka

serhiy-storchaka

* Split list_extend() into two sub-functions: list_extend_fast() and
  list_extend_iter().
* list_inplace_concat() no longer has to call Py_DECREF() on the
  list_extend() result, since list_extend() now returns an int.

aisk pushed a commit to aisk/cpython that referenced this pull request

Feb 11, 2024
…thon#111862)

* Split list_extend() into two sub-functions: list_extend_fast() and
  list_extend_iter().
* list_inplace_concat() no longer has to call Py_DECREF() on the
  list_extend() result, since list_extend() now returns an int.

Glyphack pushed a commit to Glyphack/cpython that referenced this pull request

Sep 2, 2024
…thon#111862)

* Split list_extend() into two sub-functions: list_extend_fast() and
  list_extend_iter().
* list_inplace_concat() no longer has to call Py_DECREF() on the
  list_extend() result, since list_extend() now returns an int.