Xavier de Gaye added the comment:
Commands that silently fail when an object is not printable: p, pp
Commands that crash when an object is not printable:
args, retval
Python 3: display
Python 2: on a 'return' trace event when the return value is not printable
The attached script illustrates all these cases.
----------
Added file: http://bugs.python.org/file35326/safe_repr.py
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue20853>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com