summaryrefslogtreecommitdiff
path: root/Python/pytime.c
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2015-09-03 12:16:49 +0200
committerVictor Stinner <victor.stinner@gmail.com>2015-09-03 12:16:49 +0200
commit99bb14bf0c4b9bdef2535710cc14abbdf5aa648a (patch)
tree2183ba90650d4ffe68fc1a3f3caa9c1f6b801f1a /Python/pytime.c
parent31eb5fbe895169256784d4eccdcbf799c945e272 (diff)
downloadcpython-git-99bb14bf0c4b9bdef2535710cc14abbdf5aa648a.tar.gz
type_call() now detect bugs in type new and init
* Call _Py_CheckFunctionResult() to check for bugs in type constructors (tp_new) * Add assertions to ensure an exception was raised if tp_init failed or that no exception was raised if tp_init succeed Refactor also the function to have less indentation.
Diffstat (limited to 'Python/pytime.c')
0 files changed, 0 insertions, 0 deletions