Changes between Version 2 and Version 3 of TransitionStories
- Timestamp:
- 01/28/06 14:52:36 (7 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
TransitionStories
v2 v3 10 10 Transition was fairly straighforward. The only trick worth mentioning is that the transition required to define PY_ARRAY_TYPES_PREFIX to avoid conflict between R and !NumPy headers. 11 11 12 = SciPy = 13 [http://www.scipy.org/ SciPy] is a '''large''' collection of toolboxes to give more number-crunching capability to Python w NumPy. Converting it to use NumPy intead of Numeric was accomplished in a relatively short time. Part of this was due to the fact that SciPy relies heavily on f2py and so once f2py was working for NumPy, then SciPy could work. But, this was not the whole story. There are still many hand-written C-modules and a large number of Python modules that were using Numeric-specific ideas that had to be converted. 12 14 15 The convertcode script was used for all of the Python modules and that proved its worth. There was some hand-editing that still had to be done because the typecode-character conversions also tried to convert legitimate uses of the 'c' string (used in determining which Fortran data-type to select) to 'S1'. This experience led to disabling of that conversion in convert code. 16 17 There were several C modules that used the function pointers in the old Numeric PyArray_Descr structure. These all had to be changed by hand. The numpyio module and the signaltoolsmodule where the most difficult to change as they had made the most use of the old C-structures in Numeric. 18 19 20
