<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/numpy.git/tools/allocation_tracking, branch main</title>
<subtitle>github.com: numpy/numpy.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/'/>
<entry>
<title>Deleted tools/allocation_tracking/README.md</title>
<updated>2023-04-26T12:29:08+00:00</updated>
<author>
<name>Jules Kouatchou</name>
<email>Jules.Kouatchou-1@nasa.gov</email>
</author>
<published>2023-04-26T12:29:08+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=09028ab07287e5937fbb397d26a12579b553d690'/>
<id>09028ab07287e5937fbb397d26a12579b553d690</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Provided an example on how to use np.lib.tracemalloc_domain.</title>
<updated>2023-04-23T02:53:11+00:00</updated>
<author>
<name>Jules Kouatchou</name>
<email>Jules.Kouatchou-1@nasa.gov</email>
</author>
<published>2023-04-23T02:53:11+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=84dadcea7cc89cd96f1540df77505d69f8826353'/>
<id>84dadcea7cc89cd96f1540df77505d69f8826353</id>
<content type='text'>
This is meant to address Issue 14766.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This is meant to address Issue 14766.
</pre>
</div>
</content>
</entry>
<entry>
<title>DEP: remove allocation_tracking, deprecate PyDataMem_SetEventHook  (#20394)</title>
<updated>2021-11-18T18:25:46+00:00</updated>
<author>
<name>Matti Picus</name>
<email>matti.picus@gmail.com</email>
</author>
<published>2021-11-18T18:25:46+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=ee6a23b1186343394d4e927b786c0c53e9446034'/>
<id>ee6a23b1186343394d4e927b786c0c53e9446034</id>
<content type='text'>
* DEP: remove allocation_tracking

* DOC: add release note

* DEP: deprecate PyDataMem_SetEventHook

* DOC: fix name of release note

* fixes from review

* DOC: document deprecation of PyDataMem_EventHookFunc</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* DEP: remove allocation_tracking

* DOC: add release note

* DEP: deprecate PyDataMem_SetEventHook

* DOC: fix name of release note

* fixes from review

* DOC: document deprecation of PyDataMem_EventHookFunc</pre>
</div>
</content>
</entry>
<entry>
<title>STY: use `with open` when possible</title>
<updated>2020-01-21T19:34:58+00:00</updated>
<author>
<name>Seth Troisi</name>
<email>sethtroisi@google.com</email>
</author>
<published>2020-01-21T19:32:58+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=b54108238dbd1ce2673a042b0b270f666ea96e29'/>
<id>b54108238dbd1ce2673a042b0b270f666ea96e29</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>MAINT: Remove implicit inheritance from object class (#15236)</title>
<updated>2020-01-05T05:53:30+00:00</updated>
<author>
<name>Jon Dufresne</name>
<email>jon.dufresne@gmail.com</email>
</author>
<published>2020-01-05T05:53:30+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=c31cc36a8a814ed4844a2a553454185601914a5a'/>
<id>c31cc36a8a814ed4844a2a553454185601914a5a</id>
<content type='text'>
Inheriting from object was necessary for Python 2 compatibility to use
new-style classes. In Python 3, this is unnecessary as there are no
old-style classes.

Dropping the object is more idiomatic Python.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Inheriting from object was necessary for Python 2 compatibility to use
new-style classes. In Python 3, this is unnecessary as there are no
old-style classes.

Dropping the object is more idiomatic Python.</pre>
</div>
</content>
</entry>
<entry>
<title>MAINT: Remove unnecessary 'from __future__ import ...' statements</title>
<updated>2020-01-03T15:48:11+00:00</updated>
<author>
<name>Jon Dufresne</name>
<email>jon.dufresne@gmail.com</email>
</author>
<published>2019-08-27T11:36:38+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=ed1e9659f103260a32536b4a7615393e3b1173dc'/>
<id>ed1e9659f103260a32536b4a7615393e3b1173dc</id>
<content type='text'>
As numpy is Python 3 only, these import statements are now unnecessary
and don't alter runtime behavior.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
As numpy is Python 3 only, these import statements are now unnecessary
and don't alter runtime behavior.
</pre>
</div>
</content>
</entry>
<entry>
<title>HTTP -&gt; HTTPS, and other linkrot fixes</title>
<updated>2018-06-16T06:18:19+00:00</updated>
<author>
<name>Mike Toews</name>
<email>mwtoews@gmail.com</email>
</author>
<published>2018-06-16T06:18:19+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=83828f52b287fefb3d8753a21bd3441997a4d687'/>
<id>83828f52b287fefb3d8753a21bd3441997a4d687</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>BUG: KeyboardInterrupt is swallowed all over the place</title>
<updated>2017-06-03T12:59:51+00:00</updated>
<author>
<name>Eric Wieser</name>
<email>wieser.eric@gmail.com</email>
</author>
<published>2017-06-03T12:41:26+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=1608e53072b035bd40de7a202e75354f0e802120'/>
<id>1608e53072b035bd40de7a202e75354f0e802120</id>
<content type='text'>
Bare except is very rarely the right thing
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Bare except is very rarely the right thing
</pre>
</div>
</content>
</entry>
<entry>
<title>ENH: add support for python3.6 memory tracing</title>
<updated>2017-04-28T15:09:24+00:00</updated>
<author>
<name>Julian Taylor</name>
<email>jtaylor.debian@googlemail.com</email>
</author>
<published>2017-04-03T10:42:37+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=03534ec90dba2bcdcd649be64be57939dde4c6f5'/>
<id>03534ec90dba2bcdcd649be64be57939dde4c6f5</id>
<content type='text'>
Python 3.6 added a private API for tracing arbitrary memory allocations
so the tracemalloc module [0] can be used with numpy.

closes gh-4663

[0] https://docs.python.org/3/library/tracemalloc.html
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Python 3.6 added a private API for tracing arbitrary memory allocations
so the tracemalloc module [0] can be used with numpy.

closes gh-4663

[0] https://docs.python.org/3/library/tracemalloc.html
</pre>
</div>
</content>
</entry>
<entry>
<title>BUG: disable garbage collector during memory allocation hook</title>
<updated>2014-07-05T21:13:30+00:00</updated>
<author>
<name>Julian Taylor</name>
<email>jtaylor.debian@googlemail.com</email>
</author>
<published>2014-07-05T21:09:12+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=c9c53ea985565d7d78f23519b9c5db630ac76d3d'/>
<id>c9c53ea985565d7d78f23519b9c5db630ac76d3d</id>
<content type='text'>
When a cython object contains numpy arrays the pure python allocation
hook can trigger during cythons __dealloc__ method and trigger a second
deletion of the object currently being deleted.
To minimize the probabily that that happens disable the garbage
collector during the hook.
As this involves python calls it is still possible that a double delete
occurs but chances are lowered, a proper solution would be C only hook
like python 3.4 tracemalloc module.

Closes gh-4834
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When a cython object contains numpy arrays the pure python allocation
hook can trigger during cythons __dealloc__ method and trigger a second
deletion of the object currently being deleted.
To minimize the probabily that that happens disable the garbage
collector during the hook.
As this involves python calls it is still possible that a double delete
occurs but chances are lowered, a proper solution would be C only hook
like python 3.4 tracemalloc module.

Closes gh-4834
</pre>
</div>
</content>
</entry>
</feed>
