[New-bugs-announce] [issue34346] dir() hangs interpreter

Chris Fuller report at bugs.python.org
Mon Aug 6 09:57:49 EDT 2018


New submission from Chris Fuller <cfuller732 at thinkingplanet.net>:

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.

----------
files: splat.py
messages: 323208
nosy: sfaleron
priority: normal
severity: normal
status: open
title: dir() hangs interpreter
type: crash
versions: Python 2.7
Added file: https://bugs.python.org/file47731/splat.py

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue34346>
_______________________________________


More information about the New-bugs-announce mailing list