New submission from Alistair Buxton :
The following small snippet of code will crash 3.6.5 with a segfault.
The crash occurs at cleanup, so it won't happen in the interactive interpreter
(until you exit).
# --- code ---
o = object()
for x in range(100):
o = o.__dir__
pr
Alistair Buxton added the comment:
I found this while chatting on IRC about the implementation details of objects
- specifically, since objects have a dict of attributes, and dict subclasses
object, it seems like every dict will have another dict inside it. (Eventually
someone explained