<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/numpy.git/numpy/tests/test_reloading.py, branch meson</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>TST: Skip tests that are not currently supported in wasm</title>
<updated>2022-11-11T10:52:06+00:00</updated>
<author>
<name>Hood Chatham</name>
<email>roberthoodchatham@gmail.com</email>
</author>
<published>2022-11-10T19:54:21+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=08c6e9c142e619ac5175b6a13342ba2f2c571ddd'/>
<id>08c6e9c142e619ac5175b6a13342ba2f2c571ddd</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>TST: Validate the return code of `test_full_reimport`</title>
<updated>2021-07-21T09:45:42+00:00</updated>
<author>
<name>Bas van Beek</name>
<email>43369155+BvB93@users.noreply.github.com</email>
</author>
<published>2021-07-21T09:45:07+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=1ff314dc000cb0a7a1bb2823d3bc3ac4171f9d16'/>
<id>1ff314dc000cb0a7a1bb2823d3bc3ac4171f9d16</id>
<content type='text'>
All errors raised within the sub process will remain silenced if the return code isn't validated
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
All errors raised within the sub process will remain silenced if the return code isn't validated
</pre>
</div>
</content>
</entry>
<entry>
<title>DOC: Warn when reloading numpy or using numpy in sub-interpreter</title>
<updated>2020-12-15T18:39:47+00:00</updated>
<author>
<name>Sebastian Berg</name>
<email>sebastian@sipsolutions.net</email>
</author>
<published>2020-05-14T19:27:29+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=7628292e005fd3d6faf1b77434d2224921d49ad8'/>
<id>7628292e005fd3d6faf1b77434d2224921d49ad8</id>
<content type='text'>
This adds a warning when the main NumPy module is reloaded
with the assumption that in this case objects such as `np.matrix`,
`np._NoValue` or exceptions may be cached internally.

It also gives a warning when NumPy is imported in a sub-interpreter.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This adds a warning when the main NumPy module is reloaded
with the assumption that in this case objects such as `np.matrix`,
`np._NoValue` or exceptions may be cached internally.

It also gives a warning when NumPy is imported in a sub-interpreter.
</pre>
</div>
</content>
</entry>
<entry>
<title>BUG: Allow attaching documentation twice in add_docstring</title>
<updated>2020-05-19T18:25:19+00:00</updated>
<author>
<name>Sebastian Berg</name>
<email>sebastian@sipsolutions.net</email>
</author>
<published>2020-05-19T16:03:29+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=ba14823f1bf846807985417a69cb05a864683c09'/>
<id>ba14823f1bf846807985417a69cb05a864683c09</id>
<content type='text'>
This is technically not a bug, but some IDEs and IPython have
autoreload magic which can mean that NumPy gets reloaded a second
time. This is not safe, but when it happens ignoring that an
identical docstring is already attached fixes the issue.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This is technically not a bug, but some IDEs and IPython have
autoreload magic which can mean that NumPy gets reloaded a second
time. This is not safe, but when it happens ignoring that an
identical docstring is already attached fixes the issue.
</pre>
</div>
</content>
</entry>
<entry>
<title>MAINT: cleanup unused imports; avoid redefinition of imports</title>
<updated>2020-02-06T09:16:23+00:00</updated>
<author>
<name>Mike Taves</name>
<email>mwtoews@gmail.com</email>
</author>
<published>2020-02-04T19:21:51+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=07bf33fbf5be8143aab037dc65aba3086f8badf6'/>
<id>07bf33fbf5be8143aab037dc65aba3086f8badf6</id>
<content type='text'>
* Cleanup unused imports (F401) of mostly standard Python modules,
  or some internal but unlikely referenced modules
* Where internal imports are potentially used, mark with noqa
* Avoid redefinition of imports (F811)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Cleanup unused imports (F401) of mostly standard Python modules,
  or some internal but unlikely referenced modules
* Where internal imports are potentially used, mark with noqa
* Avoid redefinition of imports (F811)
</pre>
</div>
</content>
</entry>
<entry>
<title>MAINT: Remove sys.version checks in tests</title>
<updated>2020-01-15T21:19:56+00:00</updated>
<author>
<name>Seth Troisi</name>
<email>sethtroisi@google.com</email>
</author>
<published>2020-01-09T07:49:17+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=1427484e9015e73b7017ee9336ce914a6f15187b'/>
<id>1427484e9015e73b7017ee9336ce914a6f15187b</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 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>MAINT: Move pickle import to numpy.compat</title>
<updated>2019-02-21T19:49:33+00:00</updated>
<author>
<name>Charles Harris</name>
<email>charlesr.harris@gmail.com</email>
</author>
<published>2019-02-21T19:49:33+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=b6dc039961768bd5f3a3d7f57e8c396f8fa02815'/>
<id>b6dc039961768bd5f3a3d7f57e8c396f8fa02815</id>
<content type='text'>
The pickle module was being imported from numpy.core.numeric. It was
defined there in order to use pickle5 when available in Python3 and
cpickle in Python2. The numpy.compat module seems a better place for
that.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The pickle module was being imported from numpy.core.numeric. It was
defined there in order to use pickle5 when available in Python3 and
cpickle in Python2. The numpy.compat module seems a better place for
that.
</pre>
</div>
</content>
</entry>
<entry>
<title>MAINT, TST import pickle from numpy.core.numeric</title>
<updated>2018-10-10T12:53:45+00:00</updated>
<author>
<name>Pierre Glaser</name>
<email>pierreglaser@msn.com</email>
</author>
<published>2018-09-19T15:07:25+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=7372f8dcc6af4446e502c0daec3199dace27e863'/>
<id>7372f8dcc6af4446e502c0daec3199dace27e863</id>
<content type='text'>
All imports of pickle from numpy modules are now done this way:
&gt;&gt;&gt; from numpy.core.numeric import pickle

Also, some loops on protocol numbers are added over pickle tests that
were not caught from #12090
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
All imports of pickle from numpy modules are now done this way:
&gt;&gt;&gt; from numpy.core.numeric import pickle

Also, some loops on protocol numbers are added over pickle tests that
were not caught from #12090
</pre>
</div>
</content>
</entry>
<entry>
<title>MAINT: Remove all uses of run_module_suite.</title>
<updated>2018-04-07T00:20:56+00:00</updated>
<author>
<name>Charles Harris</name>
<email>charlesr.harris@gmail.com</email>
</author>
<published>2018-04-04T16:33:07+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=7bf0564f87511d9e7b6287b3eec0857d0d7742df'/>
<id>7bf0564f87511d9e7b6287b3eec0857d0d7742df</id>
<content type='text'>
That function is nose specific and has not worked since `__init__` files
were added to the tests directories.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
That function is nose specific and has not worked since `__init__` files
were added to the tests directories.
</pre>
</div>
</content>
</entry>
</feed>
