<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/numpy.git/numpy/compat, branch pr/12889</title>
<subtitle>github.com: numpy/numpy.git
</subtitle>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/numpy.git/'/>
<entry>
<title>DEV: cleanup imports and some assignments (from LGTM)</title>
<updated>2019-03-17T07:05:25+00:00</updated>
<author>
<name>mattip</name>
<email>matti.picus@gmail.com</email>
</author>
<published>2019-03-16T19:46:59+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/numpy.git/commit/?id=32129453da0f9bf0f352adaaff79f884d2bf52bc'/>
<id>32129453da0f9bf0f352adaaff79f884d2bf52bc</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</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://91.123.203.49/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: Use list and dict comprehension when possible (#12445)</title>
<updated>2018-12-01T18:03:55+00:00</updated>
<author>
<name>Roman Yurchak</name>
<email>rth.yurchak@pm.me</email>
</author>
<published>2018-12-01T18:03:55+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/numpy.git/commit/?id=0ee245bc6df60b911fafe81a743ec2a68a063c20'/>
<id>0ee245bc6df60b911fafe81a743ec2a68a063c20</id>
<content type='text'>
* Use list comprehension

* More list comprehension migration

* Revert key copying in dict

* A few more fixes

* More reverts

* Use dict comprehension

* Fix dict comprehension

* Address review comments

* More review comments

* Fix for empty unpacking of zip(*

* Revert zip(* unpacking altogether

* Fix dict copying

* More simplifications
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Use list comprehension

* More list comprehension migration

* Revert key copying in dict

* A few more fixes

* More reverts

* Use dict comprehension

* Fix dict comprehension

* Address review comments

* More review comments

* Fix for empty unpacking of zip(*

* Revert zip(* unpacking altogether

* Fix dict copying

* More simplifications
</pre>
</div>
</content>
</entry>
<entry>
<title>ENH: Add support for third-party path-like objects by backporting os.fspath</title>
<updated>2018-10-12T15:39:40+00:00</updated>
<author>
<name>Eric Wieser</name>
<email>wieser.eric@gmail.com</email>
</author>
<published>2018-10-12T14:08:22+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/numpy.git/commit/?id=489362c0779bd60c688ce87baf9ecd6ac9ccf938'/>
<id>489362c0779bd60c688ce87baf9ecd6ac9ccf938</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>MAINT: Close the file if any unexpected errors occur within memmap</title>
<updated>2018-09-23T16:39:53+00:00</updated>
<author>
<name>Eric Wieser</name>
<email>wieser.eric@gmail.com</email>
</author>
<published>2018-02-09T05:40:21+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/numpy.git/commit/?id=8805080acf9e87a10881443c32b57d69fe44aec4'/>
<id>8805080acf9e87a10881443c32b57d69fe44aec4</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 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://91.123.203.49/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>
<entry>
<title>TST: Add numpy/compat/tests</title>
<updated>2018-03-24T15:55:09+00:00</updated>
<author>
<name>Charles Harris</name>
<email>charlesr.harris@gmail.com</email>
</author>
<published>2018-03-23T18:34:14+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/numpy.git/commit/?id=2d0374752dee5d2d75e0704e659eae8ec33571d7'/>
<id>2d0374752dee5d2d75e0704e659eae8ec33571d7</id>
<content type='text'>
These tests were not included in the `setup.py` file and consequently
not available in the installed numpy for testing.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
These tests were not included in the `setup.py` file and consequently
not available in the installed numpy for testing.
</pre>
</div>
</content>
</entry>
<entry>
<title>TST, MAINT: Add `__init__.py` files to tests directories.</title>
<updated>2017-08-06T22:23:39+00:00</updated>
<author>
<name>Charles Harris</name>
<email>charlesr.harris@gmail.com</email>
</author>
<published>2017-08-06T15:33:40+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/numpy.git/commit/?id=62a12d2d6fe9faa88482a49447ebf4ed73a7e3a5'/>
<id>62a12d2d6fe9faa88482a49447ebf4ed73a7e3a5</id>
<content type='text'>
This allows pytest to run with duplicate test file names. Note that
`python &lt;path-to-test-file&gt;` no longer works with this change, nor will
a simple `pytest numpy`, because numpy is imported from the numpy
repository. However, `python runtests.py` and `&gt;&gt;&gt; numpy.test()` are
still available.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This allows pytest to run with duplicate test file names. Note that
`python &lt;path-to-test-file&gt;` no longer works with this change, nor will
a simple `pytest numpy`, because numpy is imported from the numpy
repository. However, `python runtests.py` and `&gt;&gt;&gt; numpy.test()` are
still available.
</pre>
</div>
</content>
</entry>
<entry>
<title>MAINT: Rearrange files in numpy/testing module.</title>
<updated>2017-07-05T01:51:58+00:00</updated>
<author>
<name>Charles Harris</name>
<email>charlesr.harris@gmail.com</email>
</author>
<published>2017-07-04T19:47:45+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/numpy.git/commit/?id=ae84af3b6e6d96e4be408e8a56408290ee1879db'/>
<id>ae84af3b6e6d96e4be408e8a56408290ee1879db</id>
<content type='text'>
The aim here is to separate out the nose dependent files prior to adding
pytest support. This could be done by adding new files to the general
numpy/testing directory, but I felt that it was to have the relevant
files separated out as it makes it easier to completely remove nose
dependencies when needed.

Many places were accessing submodules in numpy/testing directly, and in
some cases incorrectly. That presented a backwards compatibility
problem. The solution adapted here is to have "dummy" files whose
contents will depend on whether of not pytest is active. That way the
module looks the same as before from the outside.

In the case of numpy itself, direct accesses have been fixed. Having
proper `__all__` lists in the submodules helped in that.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The aim here is to separate out the nose dependent files prior to adding
pytest support. This could be done by adding new files to the general
numpy/testing directory, but I felt that it was to have the relevant
files separated out as it makes it easier to completely remove nose
dependencies when needed.

Many places were accessing submodules in numpy/testing directly, and in
some cases incorrectly. That presented a backwards compatibility
problem. The solution adapted here is to have "dummy" files whose
contents will depend on whether of not pytest is active. That way the
module looks the same as before from the outside.

In the case of numpy itself, direct accesses have been fixed. Having
proper `__all__` lists in the submodules helped in that.
</pre>
</div>
</content>
</entry>
<entry>
<title>BUG: import full module path in npy_load_module</title>
<updated>2016-10-12T18:07:42+00:00</updated>
<author>
<name>Jonathan Helmus</name>
<email>jjhelmus@gmail.com</email>
</author>
<published>2016-10-12T18:07:42+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/numpy.git/commit/?id=5d0ce36e5be134bb5ead03cab1edeaa60fa355aa'/>
<id>5d0ce36e5be134bb5ead03cab1edeaa60fa355aa</id>
<content type='text'>
Use the full module path when importing importlib.machinery for use in the
npy_load_module function. Just importing importlib is not sufficient in certain
cases, for example Python 3.4.

closes #8147
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Use the full module path when importing importlib.machinery for use in the
npy_load_module function. Just importing importlib is not sufficient in certain
cases, for example Python 3.4.

closes #8147
</pre>
</div>
</content>
</entry>
</feed>
