STINNER Victor added the comment: > "construct and print a self-referencing tuple"
I don't understand the use case here. In pure Python, you cannot build a self-referecing tuple!? Yeah, using the C API or by modifying bytes directly in the memory, you can do that. But if you start to use the C API, you must be careful. The C API is designed for speed, not to prevent bugs. I don't think that we should fix anything in Python. I don't consider that it's a bug in Python. > run it and wait around 10 sec for it to happen, but once it starts you will > be forced to force it to shut because it will keep on crashing infinitely > which is extremely annoying, Basically, crash.py is a fork-bomb: the program starts itself in a loop. It's not a bug in Python. ---------- nosy: +haypo resolution: -> not a bug status: open -> closed _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue26508> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com