diff options
author | Benjamin Peterson <benjamin@python.org> | 2012-04-24 11:06:25 -0400 |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2012-04-24 11:06:25 -0400 |
commit | f73861a9f1b07296436badc29cb67c38f5e9c462 (patch) | |
tree | 158b0549decdceda5546b3b8ce7a7825bca9df6f /Python/pythonrun.c | |
parent | daf61618bda6ac20792e4da69d70c13611d5f523 (diff) | |
download | cpython-f73861a9f1b07296436badc29cb67c38f5e9c462.tar.gz |
don't use a slot wrapper from a different special method (closes #14658)
This also alters the fix to #11603. Specifically, setting __repr__ to
object.__str__ now raises a recursion RuntimeError when str() or repr() is
called instead of silently bypassing the recursion. I believe this behavior is
more correct.
Diffstat (limited to 'Python/pythonrun.c')
0 files changed, 0 insertions, 0 deletions