[pypy-commit] pypy default: document
fijal
noreply at buildbot.pypy.org
Wed Jan 11 21:47:34 CET 2012
Author: Maciej Fijalkowski <fijall at gmail.com>
Branch:
Changeset: r51251:30e3fdc262ca
Date: 2012-01-11 22:47 +0200
http://bitbucket.org/pypy/pypy/changeset/30e3fdc262ca/
Log: document
diff --git a/pypy/module/micronumpy/signature.py b/pypy/module/micronumpy/signature.py
--- a/pypy/module/micronumpy/signature.py
+++ b/pypy/module/micronumpy/signature.py
@@ -137,6 +137,9 @@
def _invent_array_numbering(self, arr, cache):
from pypy.module.micronumpy.interp_numarray import ConcreteArray
concr = arr.get_concrete()
+ # this get_concrete never forces assembler. If we're here and array
+ # is not of a concrete class it means that we have a _forced_result,
+ # otherwise the signature would not match
assert isinstance(concr, ConcreteArray)
self.array_no = _add_ptr_to_cache(concr.storage, cache)
More information about the pypy-commit
mailing list