Closed
Description
Crash Report
# user.py
name = 'Bob'
# hello.py
class Hello:
from user import name
def greet(self) -> None:
print(self.name)
Traceback
mypy/nodes.py:2705 (__getattribute__) is the deepest frame
To Reproduce
$ mypy hello.py
Your Environment
- Mypy version used: 0.910
- Mypy command-line flags: filename
- Mypy configuration options from
mypy.ini
(and other config files): no - Python version used: 3.8.12
- Operating system and version: cygwin
Thanks for looking into this,