<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/numpy.git/numpy/lib/tests/test__iotools.py, branch v1.22.4</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 default fallback in genfromtxt</title>
<updated>2020-05-18T21:44:26+00:00</updated>
<author>
<name>Sebastian Berg</name>
<email>sebastian@sipsolutions.net</email>
</author>
<published>2020-05-14T20:55:41+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=8bc4701bbfbcfafb2be634d41a2611bd0182d344'/>
<id>8bc4701bbfbcfafb2be634d41a2611bd0182d344</id>
<content type='text'>
This affected (for example?) if the `dtype=object` was used
without a converter, meaning that the default one is used.
And this is currently the last one, which is `string_` (and thus
bytes).

Closes gh-16189
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This affected (for example?) if the `dtype=object` was used
without a converter, meaning that the default one is used.
And this is currently the last one, which is `string_` (and thus
bytes).

Closes gh-16189
</pre>
</div>
</content>
</entry>
<entry>
<title>MAINT: simplify code that assumes str/unicode and int/long are different types (#15816)</title>
<updated>2020-03-26T17:50:20+00:00</updated>
<author>
<name>Eric Wieser</name>
<email>wieser.eric@gmail.com</email>
</author>
<published>2020-03-26T17:50:20+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=1c58504eec43f9ba18ac835131fed496fb59772d'/>
<id>1c58504eec43f9ba18ac835131fed496fb59772d</id>
<content type='text'>
Cleanup from the dropping of python 2</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Cleanup from the dropping of python 2</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>BUG: Refcount fixes (#13860)</title>
<updated>2019-07-03T19:04:01+00:00</updated>
<author>
<name>Sebastian Berg</name>
<email>sebastian@sipsolutions.net</email>
</author>
<published>2019-07-03T19:04:01+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=deea4983aedfa96905bbaee64e3d1de84144303f'/>
<id>deea4983aedfa96905bbaee64e3d1de84144303f</id>
<content type='text'>
* BUG: Fix leaking of object descriptor on dtype discovery of `None`

* BUG: Fix reference count leak in string discovery code path

* BUG: Fix two more datetime related reference count bugs

One is leaking only the python integer 1, the other a descriptor.

* BUG: Fix bugs in vectorized string functions error paths

Fixes reference count issues (a leak) in
TestVecString::test_non_existent_method and
TestVecString::test_non_string_array

* BUG: Fix Reference count leak in in128 C-level tests

* BUG: Fix refcount leak in advanced indexing error path

* BUG,MAINT: Refactor indexing dtypes handling in mapiter constructor

Using borrowed references for the dtypes seems much easier to get
the reference counts right.

* BUG: Reference leaks in deprecated datetime with timezone coercion

* BUG: Refcount issue in nonzero 0-d path

* BUG: Fix ufunc.at dtype refcount handling in resolver

* BUG: Fix reference count in nditer python op_axes setup

* BUG: Reference leak in writebackifcopy non-array error path

* BUG: Add missing DECREF in ufunc with dtype type resolution

* BUG: Reference count bugs in io functions

* BUG: Reference count loss in as_c_array C-side tests

* BUG: Leaking of method in object method based ufunc loops

The function could possibly be optimized nicely by checking
that the method will be the same because the types are identical.
OTOH, that may not be correct in dynamically adapted types.

* TST: Clean up cyclic ctypes reference to simplify leak debugging

If we do not clean it up in this test, the collection can take
so long that it affects the following tests when running with
reference leak debugging tools (pytest-leaks).

* BUG: Reference count of raw data for 0-sized unpickling

* TST: Mark tests which must leak references

It really may be time to remove this, considering how annoying this
is, may want to think about getting rid of that behaviour.

Could probably write a multiearraytests C-side function instead.

* BUG: Fix refcount leaks in arr.getield and setfield error paths

* BUG: Fix refcount issue in wheremask

This fix is not the prettiest, since it relies on the wheremask
to be formatted to boolean beforehand correctly.

* TST: Reset StringConvert after mutating it in tests

Or maybe just mark the test?

* BUG: Fix missing static for npy_cache_import in umath funcs.inc.src

* BUG: Fix refcount in multiternew error path

* BUG: Fix npy_ObjectGCD and LCM reference counting

* BUG: Decrement already wrapped outputs on failure

This is not super pretty, but not sure how to do it much better
right now.

* FIXUP: iotools StringConverter._mapper

* FIXUP: as_c_array tests

* FIXUP: String/dtype discovery comment

* FIXUP: Nonzero comment

* FIXUP: mapiternew -- check error return of dtype creation

In principle, at least at this time, this is not possible</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* BUG: Fix leaking of object descriptor on dtype discovery of `None`

* BUG: Fix reference count leak in string discovery code path

* BUG: Fix two more datetime related reference count bugs

One is leaking only the python integer 1, the other a descriptor.

* BUG: Fix bugs in vectorized string functions error paths

Fixes reference count issues (a leak) in
TestVecString::test_non_existent_method and
TestVecString::test_non_string_array

* BUG: Fix Reference count leak in in128 C-level tests

* BUG: Fix refcount leak in advanced indexing error path

* BUG,MAINT: Refactor indexing dtypes handling in mapiter constructor

Using borrowed references for the dtypes seems much easier to get
the reference counts right.

* BUG: Reference leaks in deprecated datetime with timezone coercion

* BUG: Refcount issue in nonzero 0-d path

* BUG: Fix ufunc.at dtype refcount handling in resolver

* BUG: Fix reference count in nditer python op_axes setup

* BUG: Reference leak in writebackifcopy non-array error path

* BUG: Add missing DECREF in ufunc with dtype type resolution

* BUG: Reference count bugs in io functions

* BUG: Reference count loss in as_c_array C-side tests

* BUG: Leaking of method in object method based ufunc loops

The function could possibly be optimized nicely by checking
that the method will be the same because the types are identical.
OTOH, that may not be correct in dynamically adapted types.

* TST: Clean up cyclic ctypes reference to simplify leak debugging

If we do not clean it up in this test, the collection can take
so long that it affects the following tests when running with
reference leak debugging tools (pytest-leaks).

* BUG: Reference count of raw data for 0-sized unpickling

* TST: Mark tests which must leak references

It really may be time to remove this, considering how annoying this
is, may want to think about getting rid of that behaviour.

Could probably write a multiearraytests C-side function instead.

* BUG: Fix refcount leaks in arr.getield and setfield error paths

* BUG: Fix refcount issue in wheremask

This fix is not the prettiest, since it relies on the wheremask
to be formatted to boolean beforehand correctly.

* TST: Reset StringConvert after mutating it in tests

Or maybe just mark the test?

* BUG: Fix missing static for npy_cache_import in umath funcs.inc.src

* BUG: Fix refcount in multiternew error path

* BUG: Fix npy_ObjectGCD and LCM reference counting

* BUG: Decrement already wrapped outputs on failure

This is not super pretty, but not sure how to do it much better
right now.

* FIXUP: iotools StringConverter._mapper

* FIXUP: as_c_array tests

* FIXUP: String/dtype discovery comment

* FIXUP: Nonzero comment

* FIXUP: mapiternew -- check error return of dtype creation

In principle, at least at this time, this is not possible</pre>
</div>
</content>
</entry>
<entry>
<title>MAINT: Review F401,F841,F842 flake8 errors (unused variables and imports) (#12448)</title>
<updated>2018-12-06T19:05:08+00:00</updated>
<author>
<name>Roman Yurchak</name>
<email>rth.yurchak@pm.me</email>
</author>
<published>2018-12-06T19:05:08+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=45cef38cda80868355a920b5e94211dcf662ea07'/>
<id>45cef38cda80868355a920b5e94211dcf662ea07</id>
<content type='text'>
* Review F401,F841,F842 flake8 errors (unused variables, imports)

* Review comments

* More tests in test_installed_npymath_ini

* Review comments
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Review F401,F841,F842 flake8 errors (unused variables, imports)

* Review comments

* More tests in test_installed_npymath_ini

* Review comments
</pre>
</div>
</content>
</entry>
<entry>
<title>Use set litterals</title>
<updated>2018-11-24T19:59:42+00:00</updated>
<author>
<name>Roman Yurchak</name>
<email>rth.yurchak@pm.me</email>
</author>
<published>2018-11-24T19:59:42+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=09992482c93f1b9e28b7958a792e6b3b709834fa'/>
<id>09992482c93f1b9e28b7958a792e6b3b709834fa</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>BUG: delimiter/comments in genfromtxt should be encoded</title>
<updated>2018-05-30T21:43:51+00:00</updated>
<author>
<name>Allan Haldane</name>
<email>allan.haldane@gmail.com</email>
</author>
<published>2018-05-30T18:44:39+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=0c4ebf1cd396f3cfa1e218b2a0e46f1bc84f9614'/>
<id>0c4ebf1cd396f3cfa1e218b2a0e46f1bc84f9614</id>
<content type='text'>
Fixes #11028
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fixes #11028
</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>
<entry>
<title>MAINT: Various minor code cleanups.</title>
<updated>2017-11-24T23:51:53+00:00</updated>
<author>
<name>Charles Harris</name>
<email>charlesr.harris@gmail.com</email>
</author>
<published>2017-11-21T17:10:26+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=1d97b3aafdca2722bbe2f0c10a96544121c8f78b'/>
<id>1d97b3aafdca2722bbe2f0c10a96544121c8f78b</id>
<content type='text'>
Minor cleanups of old code to reflect more modern usage.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Minor cleanups of old code to reflect more modern usage.
</pre>
</div>
</content>
</entry>
</feed>
