diff options
author | Sebastian Berg <sebastian@sipsolutions.net> | 2013-08-08 20:24:21 +0200 |
---|---|---|
committer | Sebastian Berg <sebastian@sipsolutions.net> | 2013-08-16 23:03:15 +0200 |
commit | 281458be347a574b8d4d28ddf49c02e2f9cf0930 (patch) | |
tree | 7884dde39dd5c6303d830a08fbcefe5bd77388ac /numpy/doc/byteswapping.py | |
parent | 3f99247298fbcd979ad0e631112e6810dca73dd0 (diff) | |
download | numpy-281458be347a574b8d4d28ddf49c02e2f9cf0930.tar.gz |
BUG: MapIter leaked itself and arr and index objects
MapIterBind incorrectly behaved when failing, cleaning up most
but not everything. The callers have to decref the mapiter
object. Which basically means that MapIterBind does not even
have to decref the new fields (they are decrefed in the
mapiter dealloc anyway).
Note that trying to add tests checking the refcounting
failed, but the tests seem to fail at least in many cases
not because of the indexing.
Closes gh-3589
Diffstat (limited to 'numpy/doc/byteswapping.py')
0 files changed, 0 insertions, 0 deletions