diff options
author | Brian Coleman <brianfcoleman@gmail.com> | 2017-03-02 22:21:53 (GMT) |
---|---|---|
committer | Serhiy Storchaka <storchaka@gmail.com> | 2017-03-02 22:21:53 (GMT) |
commit | a6e84933d204f807e0e81b6a2237193b2e8ab89a (patch) | |
tree | c8675269eb9fca2e35fbd4864db1e1afbed0da71 /Lib/asyncio/test_utils.py | |
parent | 65bd0bdf3d285e3917d66c600c95cb0842e3b3be (diff) | |
download | cpython-a6e84933d204f807e0e81b6a2237193b2e8ab89a.zip cpython-a6e84933d204f807e0e81b6a2237193b2e8ab89a.tar.gz cpython-a6e84933d204f807e0e81b6a2237193b2e8ab89a.tar.bz2 |
bpo-29683 - Fixes to _PyCode_SetExtra when co_extra->ce->extras is (#402)
allocated.
On PyMem_Realloc failure, _PyCode_SetExtra should free co_extra if
co_extra->ce_extras could not be allocated.
On PyMem_Realloc success, _PyCode_SetExtra should set all unused slots in
co_extra->ce_extras to NULL.
Diffstat (limited to 'Lib/asyncio/test_utils.py')
0 files changed, 0 insertions, 0 deletions