Commits

Maciej Fijalkowski committed f11a974

hooray applevel print works

  • Participants
  • Parent commits c77051b
  • Branches numpy-back-to-applevel

Comments (0)

Files changed (2)

lib_pypy/numpypy/core/arrayprint.py

 
 import sys
 import _numpypy as _nt
-from _numpypy import maximum, minimum, absolute, not_equal, isinf, isnan
-#from _numpypy import format_longfloat, datetime_as_string, datetime_data, isna
+from _numpypy import maximum, minimum, absolute, not_equal, isinf, isnan, isna
+#from _numpypy import format_longfloat, datetime_as_string, datetime_data
 from .fromnumeric import ravel
 
 

lib_pypy/numpypy/core/numeric.py

 
     skipdtype = (arr.dtype.type in _typelessdata) and arr.size > 0
 
-    if arr.flags.maskna:
+    # XXX pypy lacks support
+    if 0 and arr.flags.maskna:
         whichna = isna(arr)
         # If nothing is NA, explicitly signal the NA-mask
         if not any(whichna):