<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/numpy.git/numpy/f2py, 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>MAINT: Use textwrap.dedent in f2py tests</title>
<updated>2019-04-11T06:35:46+00:00</updated>
<author>
<name>Eric Wieser</name>
<email>wieser.eric@gmail.com</email>
</author>
<published>2018-08-28T16:39:56+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/numpy.git/commit/?id=1f3a43d9450189088ba8224b18d60b0efa8cbd81'/>
<id>1f3a43d9450189088ba8224b18d60b0efa8cbd81</id>
<content type='text'>
Don't touch the fortran files, since indentation is signficant there and it makes things more error-prone
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Don't touch the fortran files, since indentation is signficant there and it makes things more error-prone
</pre>
</div>
</content>
</entry>
<entry>
<title>MAINT: f2py: Add a cast to avoid a compiler warning.</title>
<updated>2019-04-05T18:59:32+00:00</updated>
<author>
<name>Warren Weckesser</name>
<email>warren.weckesser@gmail.com</email>
</author>
<published>2019-04-05T18:59:32+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/numpy.git/commit/?id=8fdacfc041bce4f63a4172d56da4520a3040b79d'/>
<id>8fdacfc041bce4f63a4172d56da4520a3040b79d</id>
<content type='text'>
The warning

    [...]/fortranobject.c:138:18: warning: comparison of integers of different signs: 'Py_ssize_t' (aka 'long') and 'unsigned long' [-Wsign-compare]
            if (size &lt; sizeof(notalloc)) {
                ~~~~ ^ ~~~~~~~~~~~~~~~~

occurs 17 times when scipy is built.  The change in this pull request casts
`size` to `size_t` before comparing it to `sizeof(...)`.  A previous check
has already eliminated the possibility that `size` is negative, so this cast
is safe.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The warning

    [...]/fortranobject.c:138:18: warning: comparison of integers of different signs: 'Py_ssize_t' (aka 'long') and 'unsigned long' [-Wsign-compare]
            if (size &lt; sizeof(notalloc)) {
                ~~~~ ^ ~~~~~~~~~~~~~~~~

occurs 17 times when scipy is built.  The change in this pull request casts
`size` to `size_t` before comparing it to `sizeof(...)`.  A previous check
has already eliminated the possibility that `size` is negative, so this cast
is safe.
</pre>
</div>
</content>
</entry>
<entry>
<title>BUG: ppc and riscv don't use REAL(10)</title>
<updated>2019-03-05T09:36:44+00:00</updated>
<author>
<name>Andreas Schwab</name>
<email>schwab@suse.de</email>
</author>
<published>2019-03-05T09:31:24+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/numpy.git/commit/?id=8b7f71730c38b8a233094a8fea7aa0c1697b0ec1'/>
<id>8b7f71730c38b8a233094a8fea7aa0c1697b0ec1</id>
<content type='text'>
This fixes numpy.f2py.tests.test_kind.TestKind
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This fixes numpy.f2py.tests.test_kind.TestKind
</pre>
</div>
</content>
</entry>
<entry>
<title>BUG: Fix testing of f2py.compile from strings.</title>
<updated>2019-01-20T23:04:59+00:00</updated>
<author>
<name>Charles Harris</name>
<email>charlesr.harris@gmail.com</email>
</author>
<published>2019-01-20T23:04:59+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/numpy.git/commit/?id=c9c154f10f7544cd94abe05f9057d92dd6f2324f'/>
<id>c9c154f10f7544cd94abe05f9057d92dd6f2324f</id>
<content type='text'>
The test should not be run if there is no Fortran compiler. This PR
moves it to `numpy/f2py/tests/test_compile_function.py`, which is
appropriate for the test and a place where the presence of the needed
compilers is already checked for.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The test should not be run if there is no Fortran compiler. This PR
moves it to `numpy/f2py/tests/test_compile_function.py`, which is
appropriate for the test and a place where the presence of the needed
compilers is already checked for.
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge pull request #12807 from mattip/f2py-source-bytes</title>
<updated>2019-01-20T18:54:44+00:00</updated>
<author>
<name>Charles Harris</name>
<email>charlesr.harris@gmail.com</email>
</author>
<published>2019-01-20T18:54:44+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/numpy.git/commit/?id=568d0f7483f7b94029d49707ccd6371f9f5c554c'/>
<id>568d0f7483f7b94029d49707ccd6371f9f5c554c</id>
<content type='text'>
BUG, DOC: test, fix that f2py.compile accepts str and bytes, rework docs</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
BUG, DOC: test, fix that f2py.compile accepts str and bytes, rework docs</pre>
</div>
</content>
</entry>
<entry>
<title>BUG, DOC: test, fix that f2py.compile accepts str and bytes, rework docs</title>
<updated>2019-01-20T15:24:59+00:00</updated>
<author>
<name>mattip</name>
<email>matti.picus@gmail.com</email>
</author>
<published>2019-01-20T14:09:33+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/numpy.git/commit/?id=d26842f9ce822f32b4c6165aff75d950e400beb8'/>
<id>d26842f9ce822f32b4c6165aff75d950e400beb8</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>BUG: Add 'sparc' to platforms implementing 16 byte reals.</title>
<updated>2019-01-05T20:23:28+00:00</updated>
<author>
<name>Charles Harris</name>
<email>charlesr.harris@gmail.com</email>
</author>
<published>2019-01-05T20:23:28+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/numpy.git/commit/?id=4ff8fd5462fa1aaafc9b3519dfca0892f01e977e'/>
<id>4ff8fd5462fa1aaafc9b3519dfca0892f01e977e</id>
<content type='text'>
This is for the _selected_real_kind_func function in
f2py/crackfortran.py
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This is for the _selected_real_kind_func function in
f2py/crackfortran.py
</pre>
</div>
</content>
</entry>
<entry>
<title>BUG: fix f2py pep338 execution method</title>
<updated>2018-12-17T19:59:14+00:00</updated>
<author>
<name>Julian Taylor</name>
<email>juliantaylor108@gmail.com</email>
</author>
<published>2018-12-17T18:40:28+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/numpy.git/commit/?id=1e296433a7987834f914b553741a91e873b5387f'/>
<id>1e296433a7987834f914b553741a91e873b5387f</id>
<content type='text'>
Closes gh-12576
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Closes gh-12576
</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://91.123.203.49/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>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>
</feed>
