[SciPy-Dev] ANN: SciPy 0.10 beta 1

Ralf Gommers ralf.gommers at googlemail.com
Tue Sep 13 13:56:47 EDT 2011


On Tue, Sep 13, 2011 at 6:20 PM, Ralf Gommers
<ralf.gommers at googlemail.com>wrote:

> Hi Christoph,
>
>
> On Tue, Sep 13, 2011 at 12:21 AM, Christoph Gohlke <cgohlke at uci.edu>wrote:
>
>>
>>
>> On 9/12/2011 2:36 PM, Ralf Gommers wrote:
>>
>>> Hi,
>>>
>>> I am pleased to announce the availability of the first beta release of
>>> SciPy 0.10.0. For this release over a 100 tickets and pull requests have
>>> been closed, and many new features have been added. Some of the
>>> highlights are:
>>>
>>>   - support for Bento as a build system for scipy
>>>   - generalized and shift-invert eigenvalue problems in sparse.linalg
>>>   - addition of discrete-time linear systems in the signal module
>>>
>>> Sources and binaries can be found at
>>> https://sourceforge.net/**projects/scipy/files/scipy/0.**10.0b1/<https://sourceforge.net/projects/scipy/files/scipy/0.10.0b1/>,
>>> release
>>> notes are copied below.
>>> Binaries for Python 2.x are available, on Python 3 there are a few known
>>> problems that should be solved first. When they are, a second beta will
>>> follow.
>>>
>>> Please try this release and report problems on the mailing list.
>>>
>>> Cheers,
>>> Ralf
>>>
>>>
>> Hi Ralf,
>>
>> regarding Python 3:
>>
>>
>
>> 2) On my system, 2to3 did not correctly convert all imports in
>> special.__init__.py, special.add_newdocs.py, and linalg.misc.py. I needed
>> to manually change
>>
>> -from _logit import logit, expit
>> +from ._logit import logit, expit
>>
>> -import fblas
>> +from . import fblas
>>
>
> I noticed that too. "from . import foo" is not valid python 2.4 syntax, so
> I hope there's an easy way we can make 2to3 see the error of its ways.
>
>
Found it, in tools/py3tool.py

diff --git a/tools/py3tool.py b/tools/py3tool.py
index 1360c03..fa96066 100755
--- a/tools/py3tool.py
+++ b/tools/py3tool.py
@@ -162,6 +162,7 @@ def custom_mangling(filename):
         os.path.join('linalg', 'lapack.py'),
         os.path.join('linalg', 'flinalg.py'),
         os.path.join('linalg', 'iterative.py'),
+        os.path.join('linalg', 'misc.py'),
         os.path.join('lib', 'blas', '__init__.py'),
         os.path.join('lib', 'lapack', '__init__.py'),
         os.path.join('ndimage', 'filters.py'),
@@ -180,6 +181,7 @@ def custom_mangling(filename):
         os.path.join('signal', 'signaltools.py'),
         os.path.join('signal', 'fir_filter_design.py'),
         os.path.join('special', '__init__.py'),
+        os.path.join('special', 'add_newdocs.py'),
         os.path.join('special', 'basic.py'),
         os.path.join('special', 'orthogonal.py'),
         os.path.join('spatial', '__init__.py'),
@@ -205,7 +207,7 @@ def custom_mangling(filename):
         for mod in ['_vq', '_hierarchy_wrap', '_fftpack', 'convolve',
                     '_flinalg', 'fblas', 'flapack', 'cblas', 'clapack',
                     'calc_lwork', '_cephes', 'specfun', 'orthogonal_eval',
-                    'lambertw', 'ckdtree', '_distance_wrap',
+                    'lambertw', 'ckdtree', '_distance_wrap', '_logit',
                     '_minpack', '_zeros', '_lbfgsb', '_cobyla', '_slsqp',
                     '_nnls',
                     'sigtools', 'spline', 'spectral',

Ralf
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/scipy-dev/attachments/20110913/13ec5f87/attachment.html>


More information about the SciPy-Dev mailing list