Author: Jeff Terrace <[email protected]>
Branch: numpy-full-fromstring
Changeset: r50591:cf46c4c19b2f
Date: 2011-12-15 15:19 -0500
http://bitbucket.org/pypy/pypy/changeset/cf46c4c19b2f/

Log:    Moved generic int code from Integer to Long

diff --git a/pypy/module/micronumpy/types.py b/pypy/module/micronumpy/types.py
--- a/pypy/module/micronumpy/types.py
+++ b/pypy/module/micronumpy/types.py
@@ -208,7 +208,6 @@
 
 class Integer(Primitive):
     _mixin_ = True
-    format_code = 'l'
 
     def _coerce(self, space, w_item):
         return self.box(space.int_w(space.call_function(space.w_int, w_item)))
@@ -288,6 +287,7 @@
 class Long(BaseType, Integer):
     T = rffi.LONG
     BoxType = interp_boxes.W_LongBox
+    format_code = 'l'
 
 class ULong(BaseType, Integer):
     T = rffi.ULONG
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to