summaryrefslogtreecommitdiff
path: root/src/tutorial/funcs_new.c
diff options
context:
space:
mode:
authorPeter Eisentraut <peter_e@gmx.net>2010-08-25 19:37:30 +0000
committerPeter Eisentraut <peter_e@gmx.net>2010-08-25 19:37:30 +0000
commite4b08587e31d7b829e0343a6546c8d31e5aedde5 (patch)
tree63cc7c756bcd1bc22b6a5ae11d639c45a75a1244 /src/tutorial/funcs_new.c
parente8b4a23b12f99fb15f2aabd1d6b649d5bdf9fb83 (diff)
Catch null pointer returns from PyCObject_AsVoidPtr and PyCObject_FromVoidPtr
This is reproducibly possible in Python 2.7 if the user turned PendingDeprecationWarning into an error, but it's theoretically also possible in earlier versions in case of exceptional conditions. backpatched to 8.0
Diffstat (limited to 'src/tutorial/funcs_new.c')
0 files changed, 0 insertions, 0 deletions