◐ Shell
clean mode source ↗

gh-58211: Add tests for __self__ attribute of builtins functions by adorilson · Pull Request #113575 · python/cpython

and others added 3 commits

December 29, 2023 19:34
The check about the f argument type was removed in this commit:
python@2c94aa5

Thanks for Pedro Arthur Duarte (pedroarthur.jedi at gmail.com) by the help with
this bug.
…#106335)

Remove private _PyThreadState and _PyInterpreterState C API
functions: move them to the internal C API (pycore_pystate.h and
pycore_interp.h). Don't export most of these functions anymore, but
still export functions used by tests.

Remove _PyThreadState_Prealloc() and _PyThreadState_Init() from the C
API, but keep it in the stable API.

AlexWaygood

@serhiy-storchaka serhiy-storchaka changed the title gh-58211 Add builtins callables tests gh-58211: Add tests for __self__ attribute of builtins functions

Jan 2, 2024

AlexWaygood

@skirpichev

skirpichev

serhiy-storchaka

Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>

skirpichev

serhiy-storchaka

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>

serhiy-storchaka

@picnixz

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request

Apr 12, 2025
…nctions (pythonGH-113575)

---------
(cherry picked from commit 891465f)

Co-authored-by: Adorilson Bezerra <adorilson@gmail.com>
Co-authored-by: Victor Stinner <vstinner@python.org>
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
Co-authored-by: Sergey B Kirpichev <skirpichev@gmail.com>
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>

picnixz added a commit that referenced this pull request

Apr 12, 2025
…unctions (GH-113575) (#132437)

gh-58211: Add tests for  the `__self__` attribute of builtins functions (GH-113575)

---------
(cherry picked from commit 891465f)

Co-authored-by: Adorilson Bezerra <adorilson@gmail.com>
Co-authored-by: Victor Stinner <vstinner@python.org>
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
Co-authored-by: Sergey B Kirpichev <skirpichev@gmail.com>
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>