Author: Armin Rigo <ar...@tunes.org>
Branch: py3.5
Changeset: r89971:90e9fb539547
Date: 2017-02-06 13:09 +0100
http://bitbucket.org/pypy/pypy/changeset/90e9fb539547/

Log:    try to fix test_functools.py

diff --git a/lib_pypy/_functools.py b/lib_pypy/_functools.py
--- a/lib_pypy/_functools.py
+++ b/lib_pypy/_functools.py
@@ -2,6 +2,8 @@
 try: from __pypy__ import builtinify
 except ImportError: builtinify = lambda f: f
 
+from reprlib import recursive_repr as _recursive_repr
+
 
 sentinel = object()
 
@@ -76,6 +78,7 @@
             fkeywords = dict(self._keywords, **fkeywords)
         return self._func(*(self._args + fargs), **fkeywords)
 
+    @_recursive_repr()
     def __repr__(self):
         cls = type(self)
         if cls is partial:
_______________________________________________
pypy-commit mailing list
pypy-commit@python.org
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to