diff options
| author | Brian Coleman <brianfcoleman@gmail.com> | 2017-03-02 22:21:53 +0000 |
|---|---|---|
| committer | Serhiy Storchaka <storchaka@gmail.com> | 2017-03-03 00:21:53 +0200 |
| commit | a6e84933d204f807e0e81b6a2237193b2e8ab89a (patch) | |
| tree | c8675269eb9fca2e35fbd4864db1e1afbed0da71 /Lib/test/test_enumerate.py | |
| parent | 65bd0bdf3d285e3917d66c600c95cb0842e3b3be (diff) | |
| download | cpython-git-a6e84933d204f807e0e81b6a2237193b2e8ab89a.tar.gz | |
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/test/test_enumerate.py')
0 files changed, 0 insertions, 0 deletions
