Author: Maciej Fijalkowski <[email protected]>
Branch: 
Changeset: r74773:ff9f32344c01
Date: 2014-12-01 16:04 +0200
http://bitbucket.org/pypy/pypy/changeset/ff9f32344c01/

Log:    this is unroll safe

diff --git a/pypy/module/micronumpy/flagsobj.py 
b/pypy/module/micronumpy/flagsobj.py
--- a/pypy/module/micronumpy/flagsobj.py
+++ b/pypy/module/micronumpy/flagsobj.py
@@ -1,3 +1,5 @@
+from rpython.rlib import jit
+
 from pypy.interpreter.baseobjspace import W_Root
 from pypy.interpreter.error import OperationError
 from pypy.interpreter.gateway import interp2app
@@ -13,6 +15,7 @@
     arr.flags &= ~flags
 
 
[email protected]_safe
 def _update_contiguous_flags(arr):
     shape = arr.shape
     strides = arr.strides
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to