]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
build_struct_time() uses Py_BuildValue()
authorVictor Stinner <victor.stinner@gmail.com>
Thu, 8 Dec 2016 23:38:16 +0000 (00:38 +0100)
committerVictor Stinner <victor.stinner@gmail.com>
Thu, 8 Dec 2016 23:38:16 +0000 (00:38 +0100)
commit2b635971e7fedc06b8a12d467a8b717c9752f4a4
tree7ea961b4b7269c77680970122737760d92ed9446
parent7e42541d08b6cc103b892c1cb70ea68c66751078
build_struct_time() uses Py_BuildValue()

Issue #28915: Avoid calling _PyObject_CallMethodId() with "(...)" format to
avoid the creation of a temporary tuple: use Py_BuildValue() with
_PyObject_CallMethodIdObjArgs().
Modules/_datetimemodule.c