Simplest reproduction: ```python # t/__init__.py print(__path__) ``` ```console $ python3 -c 'import t' ['/private/tmp/t'] ``` ``` $ mypy t t/__init__.py:1: error: Name '__path__' is not defined ```