Revision: 8962
http://matplotlib.svn.sourceforge.net/matplotlib/?rev=8962&view=rev
Author: jswhit
Date: 2011-02-08 13:14:28 +0000 (Tue, 08 Feb 2011)
Log Message:
-----------
replace __new__ with __cinit__ to accomodate cython 0.14.1
Modified Paths:
--------------
trunk/toolkits/basemap/src/_geod.pyx
trunk/toolkits/basemap/src/_proj.pyx
Modified: trunk/toolkits/basemap/src/_geod.pyx
===================================================================
--- trunk/toolkits/basemap/src/_geod.pyx 2011-02-08 13:14:00 UTC (rev
8961)
+++ trunk/toolkits/basemap/src/_geod.pyx 2011-02-08 13:14:28 UTC (rev
8962)
@@ -8,7 +8,7 @@
cdef public object proj_version
cdef char *geodinitstring
- def __new__(self, geodstring):
+ def __cinit__(self, geodstring):
cdef GEODESIC_T GEOD_T
# setup geod initialization string.
self.geodstring = geodstring
Modified: trunk/toolkits/basemap/src/_proj.pyx
===================================================================
--- trunk/toolkits/basemap/src/_proj.pyx 2011-02-08 13:14:00 UTC (rev
8961)
+++ trunk/toolkits/basemap/src/_proj.pyx 2011-02-08 13:14:28 UTC (rev
8962)
@@ -15,7 +15,7 @@
cdef char *pjinitstring
cdef public object srs
- def __new__(self, projstring):
+ def __cinit__(self, projstring):
# setup proj initialization string.
self.srs = projstring
self.pjinitstring = PyString_AsString(self.srs)
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
_______________________________________________
Matplotlib-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-checkins