Author: Armin Rigo <[email protected]>
Branch:
Changeset: r87388:1057a7b1ad5f
Date: 2016-09-26 09:21 +0200
http://bitbucket.org/pypy/pypy/changeset/1057a7b1ad5f/
Log: Fixes
diff --git a/pypy/module/mmap/interp_mmap.py b/pypy/module/mmap/interp_mmap.py
--- a/pypy/module/mmap/interp_mmap.py
+++ b/pypy/module/mmap/interp_mmap.py
@@ -328,7 +328,6 @@
else:
# bogus 'e'?
return OperationError(space.w_SystemError, space.wrap('%s' % e))
-mmap_error._dont_inline_ = True
class MMapBuffer(Buffer):
diff --git a/pypy/objspace/std/formatting.py b/pypy/objspace/std/formatting.py
--- a/pypy/objspace/std/formatting.py
+++ b/pypy/objspace/std/formatting.py
@@ -345,7 +345,7 @@
"unsupported format character '%s' (%s) at index %d",
s, hex(ord(c)), self.fmtpos - 1)
- @specialize.argtype(2)
+ @specialize.argtype(1)
def std_wp(self, r):
length = len(r)
if do_unicode and isinstance(r, str):
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit