This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author tianrluo
Recipients ezio.melotti, tianrluo, vstinner
Date 2020-08-13.18:46:53
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1597344413.55.0.876960006552.issue41542@roundup.psfhosted.org>
In-reply-to
Content
Fairly easy to reproduce.

`__all__` in a module seems unable to track name with `φ`.
The following minimal reproducing example also fails for function name of `aφ` or `φb`.

```python3
Python 3.7.7 (default, May  7 2020, 21:25:33)
[GCC 7.3.0] :: Anaconda, Inc. on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> from tmp import *
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
AttributeError: module 'tmp' has no attribute 'ϕ'
```

The `tmp.py` file.
```python
# tmp.py

__all__ = ['ϕ']


def ϕ():
    print('"__all__" doesn\'t like me')
    return
```
History
Date User Action Args
2020-08-13 18:46:53tianrluosetrecipients: + tianrluo, vstinner, ezio.melotti
2020-08-13 18:46:53tianrluosetmessageid: <1597344413.55.0.876960006552.issue41542@roundup.psfhosted.org>
2020-08-13 18:46:53tianrluolinkissue41542 messages
2020-08-13 18:46:53tianrluocreate