<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/numpy.git/numpy/compat, 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>BUG: fix the method for checking local files (#23728)</title>
<updated>2023-05-09T10:09:39+00:00</updated>
<author>
<name>Hongyang Peng</name>
<email>penghongyang@megvii.com</email>
</author>
<published>2023-05-09T10:09:39+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=181c15b294d6dd164e4c41ddbb1c5feae9b5beee'/>
<id>181c15b294d6dd164e4c41ddbb1c5feae9b5beee</id>
<content type='text'>
BufferedReader and BufferedWriter cannot be used to determine local
files. For example, users can implement CustomFile to operate on OSS
files, and then use BufferedReader(CustomFile) to achieve the buffered
effect. But fileno method can do it.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
BufferedReader and BufferedWriter cannot be used to determine local
files. For example, users can implement CustomFile to operate on OSS
files, and then use BufferedReader(CustomFile) to achieve the buffered
effect. But fileno method can do it.</pre>
</div>
</content>
</entry>
<entry>
<title>MAINT: Move _inspect and _pep440 from compat to _utils</title>
<updated>2022-11-25T13:02:33+00:00</updated>
<author>
<name>Sebastian Berg</name>
<email>sebastianb@nvidia.com</email>
</author>
<published>2022-11-25T12:43:09+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=dab75729662b1335d714a3b5f500ee7f2914a21d'/>
<id>dab75729662b1335d714a3b5f500ee7f2914a21d</id>
<content type='text'>
Note that unfortunately, compat does expose _inspect as well,
so the import remains (just the definition place moves).
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Note that unfortunately, compat does expose _inspect as well,
so the import remains (just the definition place moves).
</pre>
</div>
</content>
</entry>
<entry>
<title>PERF: Remove numpy.compat._pep440 from default imports</title>
<updated>2022-08-04T08:44:37+00:00</updated>
<author>
<name>Pieter Eendebak</name>
<email>pieter.eendebak@gmail.com</email>
</author>
<published>2022-08-04T08:44:37+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=4c986e7cedde18530745dca072e06659f1fb20a9'/>
<id>4c986e7cedde18530745dca072e06659f1fb20a9</id>
<content type='text'>
The submoudle numpy.compat._pep440 is removed from the default import of
numpy to reduce the import time. See #22061
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The submoudle numpy.compat._pep440 is removed from the default import of
numpy to reduce the import time. See #22061
</pre>
</div>
</content>
</entry>
<entry>
<title>MAINT: Replace LooseVersion by _pep440.</title>
<updated>2022-02-05T17:05:54+00:00</updated>
<author>
<name>Charles Harris</name>
<email>charlesr.harris@gmail.com</email>
</author>
<published>2022-02-04T23:21:58+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=df8d1fd3c2077ca785b0948912162e03727ace6c'/>
<id>df8d1fd3c2077ca785b0948912162e03727ace6c</id>
<content type='text'>
LooseVersion is provided by Python distutils, which is going away in
3.12. This PR vendors _pep440 from scipy and uses it as a replacement.
Numpy distutils is not touched, replacing LooseVersion in that package
was considered too risky, and numpy distutils will need to go away when
Python distutils does.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
LooseVersion is provided by Python distutils, which is going away in
3.12. This PR vendors _pep440 from scipy and uses it as a replacement.
Numpy distutils is not touched, replacing LooseVersion in that package
was considered too risky, and numpy distutils will need to go away when
Python distutils does.
</pre>
</div>
</content>
</entry>
<entry>
<title>ENH: provide a convenience function to replace npy_load_module (#20395)</title>
<updated>2021-11-19T12:51:36+00:00</updated>
<author>
<name>Matti Picus</name>
<email>matti.picus@gmail.com</email>
</author>
<published>2021-11-19T12:51:36+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=46ec71f6bc74a0a248036b305fade5562e396c52'/>
<id>46ec71f6bc74a0a248036b305fade5562e396c52</id>
<content type='text'>
`load_module` is deprecated since python 3.4 and will be removed in python 3.12.
Use `exec_module` instead. Provide a convenience function in `distutils.misc_utils`
instead of `npy_load_module` from `compat.py3k`.

</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
`load_module` is deprecated since python 3.4 and will be removed in python 3.12.
Use `exec_module` instead. Provide a convenience function in `distutils.misc_utils`
instead of `npy_load_module` from `compat.py3k`.

</pre>
</div>
</content>
</entry>
<entry>
<title>MAINT: Remove unused imports and unreachable code (#18762)</title>
<updated>2021-07-07T10:41:08+00:00</updated>
<author>
<name>Elisha Hollander</name>
<email>just4now666666@gmail.com</email>
</author>
<published>2021-07-07T10:41:08+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=d785aa39f99720950cd7f9acfe1133494cb5ff58'/>
<id>d785aa39f99720950cd7f9acfe1133494cb5ff58</id>
<content type='text'>
* Remove unnecessary imports and minor fixes</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Remove unnecessary imports and minor fixes</pre>
</div>
</content>
</entry>
<entry>
<title>DOC: Add a note that one should preferably use `contextlib.nullcontext`</title>
<updated>2020-12-05T12:39:24+00:00</updated>
<author>
<name>Bas van Beek</name>
<email>b.f.van.beek@vu.nl</email>
</author>
<published>2020-12-05T12:28:08+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=a99e1a8d3a2d2341bd1c8cf9a30db751fc4481ab'/>
<id>a99e1a8d3a2d2341bd1c8cf9a30db751fc4481ab</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>MAINT: Cleanup compatibility code for pathlib</title>
<updated>2020-10-10T11:02:05+00:00</updated>
<author>
<name>Eric Wieser</name>
<email>wieser.eric@gmail.com</email>
</author>
<published>2020-10-10T11:02:05+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=fd2749e3eeb4ca8e0bc118ec28022a921f411997'/>
<id>fd2749e3eeb4ca8e0bc118ec28022a921f411997</id>
<content type='text'>
`Path` can now never be none, and `PurePath` is not used and not in `__all__`.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
`Path` can now never be none, and `PurePath` is not used and not in `__all__`.
</pre>
</div>
</content>
</entry>
<entry>
<title>MAINT: py3k: remove os.fspath and os.PathLike backports (#17473)</title>
<updated>2020-10-10T10:56:06+00:00</updated>
<author>
<name>Wei Yang</name>
<email>wyang_92@Hotmail.com</email>
</author>
<published>2020-10-10T10:56:06+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=4afd82d8dd2c1ef48c62bdf875a194e407f2d2d3'/>
<id>4afd82d8dd2c1ef48c62bdf875a194e407f2d2d3</id>
<content type='text'>
Since we no longer support Python 3.5 and below, this code is unreachable.

As with the rest of `py3k.py`, we leave behind the aliases to prevent breaking downstream code.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Since we no longer support Python 3.5 and below, this code is unreachable.

As with the rest of `py3k.py`, we leave behind the aliases to prevent breaking downstream code.</pre>
</div>
</content>
</entry>
<entry>
<title>Mark tests as a subpackage rather than data.</title>
<updated>2020-05-06T19:57:36+00:00</updated>
<author>
<name>Hameer Abbasi</name>
<email>einstein.edison@gmail.com</email>
</author>
<published>2020-05-06T18:34:34+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=a51ac2610cd6a3c23d48c65709397083da395733'/>
<id>a51ac2610cd6a3c23d48c65709397083da395733</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
