]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-37645: add new function _PyObject_FunctionStr() (GH-14890)
authorJeroen Demeyer <jeroen.k.demeyer@gmail.com>
Tue, 5 Nov 2019 15:48:04 +0000 (16:48 +0100)
committerMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Tue, 5 Nov 2019 15:48:04 +0000 (07:48 -0800)
commitbf17d41826a8bb4bc1e34ba6345da98aac779e41
tree1c256d14c23ffdcbbb5ae54efa546cf718a8f892
parentb3966639d28313809774ca3859a347b9007be8d2
bpo-37645: add new function _PyObject_FunctionStr() (GH-14890)

Additional note: the `method_check_args` function in `Objects/descrobject.c` is written in such a way that it applies to all kinds of descriptors. In particular, a future re-implementation of `wrapper_descriptor` could use that code.

CC @vstinner @encukou

https://bugs.python.org/issue37645

Automerge-Triggered-By: @encukou
Doc/c-api/object.rst
Include/cpython/object.h
Lib/test/test_call.py
Lib/test/test_descr.py
Lib/test/test_extcall.py
Lib/test/test_unpack_ex.py
Misc/NEWS.d/next/C API/2019-07-21-21-08-47.bpo-37645.4DcUaI.rst [new file with mode: 0644]
Objects/descrobject.c
Objects/methodobject.c
Objects/object.c
Python/ceval.c