<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/numpy.git/numpy/__init__.py, branch v1.18.0</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: Remove builtins from __all__</title>
<updated>2019-11-12T09:25:59+00:00</updated>
<author>
<name>Eric Wieser</name>
<email>wieser.eric@gmail.com</email>
</author>
<published>2019-11-11T22:25:22+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=9ce99dd8b682754ca0efe0cb2fc1dad9f03fb234'/>
<id>9ce99dd8b682754ca0efe0cb2fc1dad9f03fb234</id>
<content type='text'>
This was introduced in 3ca0eb1136102ff01bcc171f53c106326fa4445b, due to an incorrect implementation of `__dir__` (fixed in the previous commit).

It was never released, so this is not a breaking change.

In that commit, `from numpy import *` would reset all the builtins to their defaults, and set `unicode = str`, `long = int`.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This was introduced in 3ca0eb1136102ff01bcc171f53c106326fa4445b, due to an incorrect implementation of `__dir__` (fixed in the previous commit).

It was never released, so this is not a breaking change.

In that commit, `from numpy import *` would reset all the builtins to their defaults, and set `unicode = str`, `long = int`.
</pre>
</div>
</content>
</entry>
<entry>
<title>BUG: Fix np.__dir__ to correctly handle new properties</title>
<updated>2019-11-11T23:16:59+00:00</updated>
<author>
<name>Eric Wieser</name>
<email>wieser.eric@gmail.com</email>
</author>
<published>2019-11-11T23:13:04+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=035ef5ac3ca52b9f14ea3effe739c6aaca9411bc'/>
<id>035ef5ac3ca52b9f14ea3effe739c6aaca9411bc</id>
<content type='text'>
Previously this would fail, but only on python 3.7+
```
np.new_member = 1
assert 'new_member' in dir(np)
```

While this isn't something we support anyway, it certainly wasn't intentional.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Previously this would fail, but only on python 3.7+
```
np.new_member = 1
assert 'new_member' in dir(np)
```

While this isn't something we support anyway, it certainly wasn't intentional.
</pre>
</div>
</content>
</entry>
<entry>
<title>DOC: add some comments to explain namespace cleanup in numpy/__init__.py</title>
<updated>2019-09-19T06:57:52+00:00</updated>
<author>
<name>Ralf Gommers</name>
<email>ralf.gommers@gmail.com</email>
</author>
<published>2019-09-09T23:11:31+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=8ce48a392600c70adc66647a8c365692eb490da9'/>
<id>8ce48a392600c70adc66647a8c365692eb490da9</id>
<content type='text'>
[ci skip]
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
[ci skip]
</pre>
</div>
</content>
</entry>
<entry>
<title>MAINT: add missing 'Arrayterator' to `numpy.lib.__all__`</title>
<updated>2019-09-19T06:57:52+00:00</updated>
<author>
<name>Ralf Gommers</name>
<email>ralf.gommers@gmail.com</email>
</author>
<published>2019-09-08T18:57:31+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=d072f12354d1802aa6ac7a3bfa92a24fa5df613d'/>
<id>d072f12354d1802aa6ac7a3bfa92a24fa5df613d</id>
<content type='text'>
Also finish the TODO about figuring out which np.lib.&lt;submodule&gt;'s
are public.

This is a giant mess ...
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Also finish the TODO about figuring out which np.lib.&lt;submodule&gt;'s
are public.

This is a giant mess ...
</pre>
</div>
</content>
</entry>
<entry>
<title>BUG: Fix format statement associated with AttributeError.</title>
<updated>2019-09-04T05:58:22+00:00</updated>
<author>
<name>Warren Weckesser</name>
<email>warren.weckesser@gmail.com</email>
</author>
<published>2019-09-04T05:25:40+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=3238a0d7d003fb869ca106b18365162a78a7d4e0'/>
<id>3238a0d7d003fb869ca106b18365162a78a7d4e0</id>
<content type='text'>
Before this fix, a reference such as `numpy.wxyz` produced an
incorrect error message because of the invalid format specifiers
in the error message string:

    &gt;&gt;&gt; import numpy
    &gt;&gt;&gt; numpy.wxyz
    Traceback (most recent call last):
      File "&lt;stdin&gt;", line 1, in &lt;module&gt;
      File "/.../numpy/__init__.py", line 206, in __getattr__
        "module %s has no attribute $s".format(__name__, attr))
    AttributeError: module %s has no attribute $s

After the fix:

    &gt;&gt;&gt; import numpy
    &gt;&gt;&gt; numpy.wxyz
    Traceback (most recent call last):
      File "&lt;stdin&gt;", line 1, in &lt;module&gt;
      File "/.../numpy/__init__.py", line 206, in __getattr__
        "{!r}".format(__name__, attr))
    AttributeError: module 'numpy' has no attribute 'wxyz'
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Before this fix, a reference such as `numpy.wxyz` produced an
incorrect error message because of the invalid format specifiers
in the error message string:

    &gt;&gt;&gt; import numpy
    &gt;&gt;&gt; numpy.wxyz
    Traceback (most recent call last):
      File "&lt;stdin&gt;", line 1, in &lt;module&gt;
      File "/.../numpy/__init__.py", line 206, in __getattr__
        "module %s has no attribute $s".format(__name__, attr))
    AttributeError: module %s has no attribute $s

After the fix:

    &gt;&gt;&gt; import numpy
    &gt;&gt;&gt; numpy.wxyz
    Traceback (most recent call last):
      File "&lt;stdin&gt;", line 1, in &lt;module&gt;
      File "/.../numpy/__init__.py", line 206, in __getattr__
        "{!r}".format(__name__, attr))
    AttributeError: module 'numpy' has no attribute 'wxyz'
</pre>
</div>
</content>
</entry>
<entry>
<title>MAINT: Lazy import testing on python &gt;=3.7 (#14097)</title>
<updated>2019-08-22T13:14:09+00:00</updated>
<author>
<name>Mark Harfouche</name>
<email>mark.harfouche@gmail.com</email>
</author>
<published>2019-08-22T13:14:09+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=3ca0eb1136102ff01bcc171f53c106326fa4445b'/>
<id>3ca0eb1136102ff01bcc171f53c106326fa4445b</id>
<content type='text'>
On new python versions, the module level `__getattr__` can be used to import testing and
Tester only when needed (at no speed cost, except for the first time import). Since most users
never use testing, this avoids an expensive import.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
On new python versions, the module level `__getattr__` can be used to import testing and
Tester only when needed (at no speed cost, except for the first time import). Since most users
never use testing, this avoids an expensive import.</pre>
</div>
</content>
</entry>
<entry>
<title>MAINT: cleanup getlimit global vars</title>
<updated>2018-10-10T03:46:11+00:00</updated>
<author>
<name>Allan Haldane</name>
<email>allan.haldane@gmail.com</email>
</author>
<published>2018-10-10T03:46:11+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=699dfeeec3731555a90da2060267f9ee72e9887e'/>
<id>699dfeeec3731555a90da2060267f9ee72e9887e</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>MAINT: delay initialization of getlimits (circular imports)</title>
<updated>2018-10-10T03:11:26+00:00</updated>
<author>
<name>Allan Haldane</name>
<email>allan.haldane@gmail.com</email>
</author>
<published>2018-09-30T23:43:23+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=78e105182759b582818cb0f661052e9d812c8478'/>
<id>78e105182759b582818cb0f661052e9d812c8478</id>
<content type='text'>
getlimits previously called numpy code before all of numpy was loaded,
which often causes circular import issues. This delays getlimits init.

Fixes #12063
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
getlimits previously called numpy code before all of numpy was loaded,
which often causes circular import issues. This delays getlimits init.

Fixes #12063
</pre>
</div>
</content>
</entry>
<entry>
<title>DEP: Remove np.pkgload, which was deprecated in 1.10</title>
<updated>2018-08-12T17:48:18+00:00</updated>
<author>
<name>Eric Wieser</name>
<email>wieser.eric@gmail.com</email>
</author>
<published>2018-08-10T06:54:38+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=85cf4efe47a0d8dbdf268c5870974d72af12e216'/>
<id>85cf4efe47a0d8dbdf268c5870974d72af12e216</id>
<content type='text'>
Attempts to use this on either cpython27 or cpython35, in either a shell or a script, gives:

    NameError: name '__path__' is not defined

Perhaps I'm calling it wrong, but it might just be broken.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Attempts to use this on either cpython27 or cpython35, in either a shell or a script, gives:

    NameError: name '__path__' is not defined

Perhaps I'm calling it wrong, but it might just be broken.
</pre>
</div>
</content>
</entry>
<entry>
<title>ignore cython warnings in init</title>
<updated>2018-07-29T12:35:19+00:00</updated>
<author>
<name>Jeremy Manning</name>
<email>jeremy@hypercube.local</email>
</author>
<published>2018-07-29T12:35:19+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=15b7ecdacdb37b6334e9c0312115ad0fabefb676'/>
<id>15b7ecdacdb37b6334e9c0312115ad0fabefb676</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
