<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/numpy.git/numpy/f2py, branch v1.8.2</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>DOC: remove mktemp mention from f2py manpage</title>
<updated>2014-02-16T11:48:17+00:00</updated>
<author>
<name>Julian Taylor</name>
<email>jtaylor.debian@googlemail.com</email>
</author>
<published>2014-02-16T11:46:55+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=c720b0013d336ae35d89ae4bcd3a16cc5f5276ee'/>
<id>c720b0013d336ae35d89ae4bcd3a16cc5f5276ee</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>ENH: remove insecure mktemp use</title>
<updated>2014-02-15T16:55:07+00:00</updated>
<author>
<name>Julian Taylor</name>
<email>jtaylor.debian@googlemail.com</email>
</author>
<published>2014-02-05T22:01:47+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=961c43da78bf97ce63183b27c338db7ea77bed85'/>
<id>961c43da78bf97ce63183b27c338db7ea77bed85</id>
<content type='text'>
mktemp only returns a filename, a malicous user could replace it before
it gets used.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
mktemp only returns a filename, a malicous user could replace it before
it gets used.
</pre>
</div>
</content>
</entry>
<entry>
<title>BUG: changed string.lowercase to string.ascii_lowercase</title>
<updated>2013-10-24T19:41:23+00:00</updated>
<author>
<name>ochoadavid</name>
<email>ochoadavid@gmail.com</email>
</author>
<published>2013-10-24T17:16:02+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=29f65e6e64c41376cf3615016c59589fe4943c72'/>
<id>29f65e6e64c41376cf3615016c59589fe4943c72</id>
<content type='text'>
Compatibility with Python3, which dosn't have string.lowercase.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Compatibility with Python3, which dosn't have string.lowercase.
</pre>
</div>
</content>
</entry>
<entry>
<title>BUG: f2py, fix decref on wrong object</title>
<updated>2013-09-12T16:11:18+00:00</updated>
<author>
<name>Julian Taylor</name>
<email>jtaylor.debian@googlemail.com</email>
</author>
<published>2013-09-12T15:42:55+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=84b69f8dc822e977b5fae48b32c43f572800c8a2'/>
<id>84b69f8dc822e977b5fae48b32c43f572800c8a2</id>
<content type='text'>
missing brackets causes decref on an wrong object.
shows itself as abort with negative refcount in test_callback using
python-dbg.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
missing brackets causes decref on an wrong object.
shows itself as abort with negative refcount in test_callback using
python-dbg.
</pre>
</div>
</content>
</entry>
<entry>
<title>STY: Giant comma spacing fixup.</title>
<updated>2013-08-18T17:51:25+00:00</updated>
<author>
<name>Charles Harris</name>
<email>charlesr.harris@gmail.com</email>
</author>
<published>2013-08-18T17:51:25+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=fbd6510d58a47ea0d166c48a82793f05425406e4'/>
<id>fbd6510d58a47ea0d166c48a82793f05425406e4</id>
<content type='text'>
Run the 2to3 ws_comma fixer on *.py files. Some lines are now too long
and will need to be broken at some point. OTOH, some lines were already
too long and need to be broken at some point. Now seems as good a time
as any to do this with open PRs at a minimum.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Run the 2to3 ws_comma fixer on *.py files. Some lines are now too long
and will need to be broken at some point. OTOH, some lines were already
too long and need to be broken at some point. Now seems as good a time
as any to do this with open PRs at a minimum.
</pre>
</div>
</content>
</entry>
<entry>
<title>STY: Giant whitespace cleanup.</title>
<updated>2013-08-18T17:20:45+00:00</updated>
<author>
<name>Charles Harris</name>
<email>charlesr.harris@gmail.com</email>
</author>
<published>2013-08-18T17:16:06+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=8ddb0ce0acafe75d78df528b4d2540dfbf4b364d'/>
<id>8ddb0ce0acafe75d78df528b4d2540dfbf4b364d</id>
<content type='text'>
Now is as good a time as any with open PR's at a low.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Now is as good a time as any with open PR's at a low.
</pre>
</div>
</content>
</entry>
<entry>
<title>MAINT: Remove outdated version checks.</title>
<updated>2013-07-11T18:43:18+00:00</updated>
<author>
<name>Charles Harris</name>
<email>charlesr.harris@gmail.com</email>
</author>
<published>2013-07-11T18:08:49+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=28eadc0e31ca7aea5c679023d1e703856f45c879'/>
<id>28eadc0e31ca7aea5c679023d1e703856f45c879</id>
<content type='text'>
Because Numpy 1.8.0 will no longer supports Python versions &lt; 2.6 we
no longer need to check for that and can also remove the code that is
specific to those earlier versions.

To make this a bit safer, the toplevel setup.py file now contains a
check of the Python version number and raises an error when run by an
unsupported version.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Because Numpy 1.8.0 will no longer supports Python versions &lt; 2.6 we
no longer need to check for that and can also remove the code that is
specific to those earlier versions.

To make this a bit safer, the toplevel setup.py file now contains a
check of the Python version number and raises an error when run by an
unsupported version.
</pre>
</div>
</content>
</entry>
<entry>
<title>BUG: f2py script shebang may refer to wrong python</title>
<updated>2013-05-23T15:56:00+00:00</updated>
<author>
<name>Carwyn Pelley</name>
<email>cpelley.pub@gmail.com</email>
</author>
<published>2013-05-23T13:41:19+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=e6a1ab9cf306ca34d43b9e196f2573edb0a6c416'/>
<id>e6a1ab9cf306ca34d43b9e196f2573edb0a6c416</id>
<content type='text'>
The f2py executable has a shebang which uses the default python, rather
than the python it was compiled for.  This causes issues for deployment
of numpy (+f2py) across systems which have different environments.

This fix uses sys.executable to determine the resulting hardcoded
python to use.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The f2py executable has a shebang which uses the default python, rather
than the python it was compiled for.  This causes issues for deployment
of numpy (+f2py) across systems which have different environments.

This fix uses sys.executable to determine the resulting hardcoded
python to use.
</pre>
</div>
</content>
</entry>
<entry>
<title>MAINT: Apply 2to3 idioms fixer.</title>
<updated>2013-05-03T03:13:17+00:00</updated>
<author>
<name>Charles Harris</name>
<email>charlesr.harris@gmail.com</email>
</author>
<published>2013-04-27T03:31:12+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=dec4f4b76ae9b2b953bcc093275aa59f93adf6fd'/>
<id>dec4f4b76ae9b2b953bcc093275aa59f93adf6fd</id>
<content type='text'>
The idioms fixer makes the following replacements.

1) int &lt;- bool
2) comparison or identity of types &lt;- isinstance
3) a.sort() &lt;- sorted(a)

There were two problems that needed to be dealt with after the
application of the fixer. First, the replacement of comparison or
identity of types by isinstance was not always correct.  The isinstance
function returns true for subtypes whereas many of the places where the
fixer made a substitution needed to check for exact type equality.
Second, the sorted function was applied to arrays, but because it treats
them as iterators and constructs a sorted list from the result, that is
the wrong thing to do.

Closes #3062.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The idioms fixer makes the following replacements.

1) int &lt;- bool
2) comparison or identity of types &lt;- isinstance
3) a.sort() &lt;- sorted(a)

There were two problems that needed to be dealt with after the
application of the fixer. First, the replacement of comparison or
identity of types by isinstance was not always correct.  The isinstance
function returns true for subtypes whereas many of the places where the
fixer made a substitution needed to check for exact type equality.
Second, the sorted function was applied to arrays, but because it treats
them as iterators and constructs a sorted list from the result, that is
the wrong thing to do.

Closes #3062.
</pre>
</div>
</content>
</entry>
<entry>
<title>2to3: Apply types fixer.</title>
<updated>2013-04-14T14:57:45+00:00</updated>
<author>
<name>Charles Harris</name>
<email>charlesr.harris@gmail.com</email>
</author>
<published>2013-04-13T18:21:42+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=c879ad8a39f2b74edcdaa05a2f2f854fb235537d'/>
<id>c879ad8a39f2b74edcdaa05a2f2f854fb235537d</id>
<content type='text'>
Python 3 removes the builtin types from the types module. The types
fixer replaces such references with the builtin types where possible
and also takes care of some special cases:

    types.TypeNone           &lt;- type(None)
    types.NotImplementedType &lt;- type(NotImplemented)
    types.EllipsisType       &lt;- type(Ellipsis)

The only two tricky substitutions are

    types.StringType         &lt;- bytes
    types.LongType           &lt;- int

These are fixed up to support both Python 3 and Python 2 code by
importing the long and bytes types from numpy.compat.

Closes #3240.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Python 3 removes the builtin types from the types module. The types
fixer replaces such references with the builtin types where possible
and also takes care of some special cases:

    types.TypeNone           &lt;- type(None)
    types.NotImplementedType &lt;- type(NotImplemented)
    types.EllipsisType       &lt;- type(Ellipsis)

The only two tricky substitutions are

    types.StringType         &lt;- bytes
    types.LongType           &lt;- int

These are fixed up to support both Python 3 and Python 2 code by
importing the long and bytes types from numpy.compat.

Closes #3240.
</pre>
</div>
</content>
</entry>
</feed>
