[issue34346] dir() hangs interpreter

2020-05-14 Thread STINNER Victor
STINNER Victor added the comment: > Only present with 2.7 new-style classes. Old-style 2.7 did not exhibit this > behavior nor did 3.x. Python 2 is no longer supported, I close the issue as out of date. -- nosy: +vstinner resolution: -> out of date stage: -> resolved status: open -

[issue34346] dir() hangs interpreter

2018-08-06 Thread Chris Fuller
Chris Fuller added the comment: It hangs, and on Cygwin it dumped core when I hit ctrl-break. I uploaded a revised script. It';s a heisenbug, all I did was removed the unused splat method. -- ___ Python tracker

[issue34346] dir() hangs interpreter

2018-08-06 Thread Chris Fuller
Change by Chris Fuller : Removed file: https://bugs.python.org/file47731/splat.py ___ Python tracker ___ ___ Python-bugs-list mailing list U

[issue34346] dir() hangs interpreter

2018-08-06 Thread Chris Fuller
Change by Chris Fuller : Added file: https://bugs.python.org/file47732/splat.py ___ Python tracker ___ ___ Python-bugs-list mailing list Uns

[issue34346] dir() hangs interpreter

2018-08-06 Thread Steven D'Aprano
Steven D'Aprano added the comment: I don't think the description you give is very accurate. The description in the file splat.py says: "Hangs/core dumps Python2 when instantiated" (which is it? hang or core dump?) but I can't replicate that. Instantiating A() is fine for me. (Tested in Pyth

[issue34346] dir() hangs interpreter

2018-08-06 Thread Chris Fuller
New submission from Chris Fuller : It's a little obscure. Nothing to get alarmed about, probably. It involves recursion and __getattr__() during object creation. Only present with 2.7 new-style classes. Old-style 2.7 did not exhibit this behavior nor did 3.x. Checked on Linux/Cygwin/Windows.