Larry Hastings added the comment:

This is a legitimate problem and I'd definitely like it fixed.
However, the angle brackets and the quote marks are ugly:

        decode(obj, encoding='<sys.getdefaultencoding()>', errors='strict')

Attached is a tweaked version of the patch that sidesteps the quote marks and 
the angle brackets, by substituting in an object with a custom repr.

Yury, if my change to your patch looks good to you, please go ahead and check 
it in. That way it won't slow down 3.5.0rc1.  Thanks!

----------
Added file: 
http://bugs.python.org/file40151/larry.fix.pydoc.for.calls.with.functions.1.diff

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue24824>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to