Commit 47d14ea4 authored by Denis Bilenko's avatar Denis Bilenko

Greenlet: fix _formatted_info to limit repr of the argument to 50 characters

parent f6a6fa07
...@@ -184,7 +184,7 @@ class Greenlet(greenlet): ...@@ -184,7 +184,7 @@ class Greenlet(greenlet):
else: else:
args = [] args = []
if self.args: if self.args:
args = [repr(x) for x in self.args] args = [repr(x)[:50] for x in self.args]
if self.kwargs: if self.kwargs:
args.extend(['%s=%r' % x for x in self.kwargs.items()]) args.extend(['%s=%r' % x for x in self.kwargs.items()])
if args: if args:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment