[Numpy-svn] r8213 - trunk/numpy/numarray

numpy-svn@scip... numpy-svn@scip...
Sat Feb 20 20:50:35 CST 2010


Author: ptvirtan
Date: 2010-02-20 20:50:34 -0600 (Sat, 20 Feb 2010)
New Revision: 8213

Modified:
   trunk/numpy/numarray/functions.py
Log:
3K: ENH: make numpy.numarray to import

Modified: trunk/numpy/numarray/functions.py
===================================================================
--- trunk/numpy/numarray/functions.py	2010-02-21 02:50:19 UTC (rev 8212)
+++ trunk/numpy/numarray/functions.py	2010-02-21 02:50:34 UTC (rev 8213)
@@ -54,6 +54,9 @@
 
 from numerictypes import typefrom
 
+if sys.version_info[0] >= 3:
+    import copyreg as copy_reg
+
 isBigEndian = sys.byteorder != 'little'
 value = tcode = 'f'
 tname = 'Float32'



More information about the Numpy-svn mailing list