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 christian.kolen
Recipients christian.kolen
Date 2021-08-22.20:55:35
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1629665735.18.0.342540973812.issue44981@roundup.psfhosted.org>
In-reply-to
Content
With Python 3.9.6 on macOS,

In a file all_bug.py,

```py
__all__ = ("ϵ",)
ϵ = "ϵ"
```

Then run `from all_bug import *`, resulted in

    AttributeError: module 'all_bug' has no attribute 'ϵ'

This happens with some other unicode characters as well, but not all. I can provide them if needed.

Removing the `__all__` line will successfully import ϵ and be used.
History
Date User Action Args
2021-08-22 20:55:35christian.kolensetrecipients: + christian.kolen
2021-08-22 20:55:35christian.kolensetmessageid: <1629665735.18.0.342540973812.issue44981@roundup.psfhosted.org>
2021-08-22 20:55:35christian.kolenlinkissue44981 messages
2021-08-22 20:55:35christian.kolencreate