]> granicus.if.org Git - python/commit
bpo-35059: Enhance _PyObject_AssertFailed() (GH-10642)
authorVictor Stinner <vstinner@redhat.com>
Wed, 21 Nov 2018 22:53:44 +0000 (23:53 +0100)
committerGitHub <noreply@github.com>
Wed, 21 Nov 2018 22:53:44 +0000 (23:53 +0100)
commitf1d002c1e094922b0f17a820f90ff102d68ab253
tree4f9b4d17b8465d0b9b2fbd1f8da4491011a8e00d
parentbcda8f1d42a98d9022736dd52d855be8e220fe15
bpo-35059: Enhance _PyObject_AssertFailed() (GH-10642)

Enhance _PyObject_AssertFailed()

* Exchange 'expr' and 'msg' parameters
* 'expr' and 'func' arguments can now be NULL
Include/object.h
Lib/test/test_capi.py
Objects/object.c