[pypy-commit] pypy numpy-data-buffer: translation improvement.
timo_jbo
noreply at buildbot.pypy.org
Mon Oct 3 13:13:40 CEST 2011
Author: Timo Paulssen <timonator at perpetuum-immobile.de>
Branch: numpy-data-buffer
Changeset: r47790:a8fbe3b9f870
Date: 2011-10-03 13:13 +0200
http://bitbucket.org/pypy/pypy/changeset/a8fbe3b9f870/
Log: translation improvement.
diff --git a/pypy/module/_numpy/interp_numarray.py b/pypy/module/_numpy/interp_numarray.py
--- a/pypy/module/_numpy/interp_numarray.py
+++ b/pypy/module/_numpy/interp_numarray.py
@@ -16,7 +16,7 @@
slice_driver = jit.JitDriver(greens=['signature'], reds=['i', 'j', 'step', 'stop', 'source', 'dest'])
class BaseArray(Wrappable):
- _attrs_ = ["invalidates", "signature"]
+ _attrs_ = ["invalidates", "signature", "_buffer"]
BufferClass = NumpyBuffer
def __init__(self):
More information about the pypy-commit
mailing list