Author: Maciej Fijalkowski <[email protected]>
Branch:
Changeset: r50906:ff4589dda2b1
Date: 2011-12-27 17:09 +0200
http://bitbucket.org/pypy/pypy/changeset/ff4589dda2b1/
Log: add some info "we're in re" or "we're in numpy"
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
@@ -7,7 +7,7 @@
def new_printable_location(driver_name):
def get_printable_location(shapelen, sig):
- return sig.debug_repr() + ' [%d dims,%s]' % (shapelen, driver_name)
+ return 'numpy ' + sig.debug_repr() + ' [%d dims,%s]' % (shapelen,
driver_name)
return get_printable_location
def sigeq(one, two):
diff --git a/pypy/rlib/rsre/rsre_jit.py b/pypy/rlib/rsre/rsre_jit.py
--- a/pypy/rlib/rsre/rsre_jit.py
+++ b/pypy/rlib/rsre/rsre_jit.py
@@ -22,7 +22,7 @@
info = '%s/%d' % (info, args[debugprint[2]])
else:
info = ''
- return '%s%s %s' % (name, info, s)
+ return 're %s%s %s' % (name, info, s)
#
self.get_printable_location = get_printable_location
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit