Raymond Hettinger added the comment:

Changing PyObject_Repr is too course; it affects a broad class of objects other 
than containers, and it risks unknown impacts to larges swaths of third-party 
code use this venerable API.  It is also a break with the long established 
history of recursion detection being a responsibility of the individual types 
(i.e. the code in sets, lists, dicts, etc.)

The three cases listed here should be fixed individually.

----------
nosy: +rhettinger

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

Reply via email to