[issue18682] [PATCH] remove bogus codepath from pprint._safe_repr

Serhiy Storchaka report at bugs.python.org
Wed Aug 14 21:57:47 CEST 2013


Serhiy Storchaka added the comment:

Here is a patch which adds fast path for builtin scalar types.

Or we can just remove a special case for strings.

----------
Added file: http://bugs.python.org/file31292/pprint_safe_repr_scalars.patch

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue18682>
_______________________________________


More information about the Python-bugs-list mailing list