[Numpy-svn] r8185 - trunk/numpy/lib

numpy-svn@scip... numpy-svn@scip...
Sat Feb 20 12:19:08 CST 2010


Author: ptvirtan
Date: 2010-02-20 12:19:07 -0600 (Sat, 20 Feb 2010)
New Revision: 8185

Modified:
   trunk/numpy/lib/io.py
Log:
BUG: lib: ensure 'bytes' is imported in io.py

Modified: trunk/numpy/lib/io.py
===================================================================
--- trunk/numpy/lib/io.py	2010-02-20 18:18:53 UTC (rev 8184)
+++ trunk/numpy/lib/io.py	2010-02-20 18:19:07 UTC (rev 8185)
@@ -24,7 +24,7 @@
                      _is_string_like, has_nested_fields, flatten_dtype, \
                      easy_dtype, _bytes_to_name
 
-from numpy.compat import asbytes, asstr, asbytes_nested
+from numpy.compat import asbytes, asstr, asbytes_nested, bytes
 
 if sys.version_info[0] >= 3:
     import io



More information about the Numpy-svn mailing list