summaryrefslogtreecommitdiffstats
path: root/Python/future.c
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@redhat.com>2019-08-20 12:44:32 (GMT)
committerGitHub <noreply@github.com>2019-08-20 12:44:32 (GMT)
commit30e5aff5fb0e3841107ddd4539a1f5b8521c80fb (patch)
tree463641e4d6ba2e703ee29483fda11920aa01a604 /Python/future.c
parent1271ee8187df31debda7c556882a51ec356ca534 (diff)
downloadcpython-30e5aff5fb0e3841107ddd4539a1f5b8521c80fb.zip
cpython-30e5aff5fb0e3841107ddd4539a1f5b8521c80fb.tar.gz
cpython-30e5aff5fb0e3841107ddd4539a1f5b8521c80fb.tar.bz2
bpo-37732: Fix GCC warning in _PyObject_Malloc() (GH-15333) (GH-15342)
pymalloc_alloc() now returns directly the pointer, return NULL on memory allocation error. allocate_from_new_pool() already uses NULL as marker for "allocation failed". (cherry picked from commit 18f8dcfa10d8a858b152d12a9ad8fa83b7e967f0)
Diffstat (limited to 'Python/future.c')
0 files changed, 0 insertions, 0 deletions