[issue44981] wildcard imports should normalise names in `__all__`

Steven D'Aprano report at bugs.python.org
Mon Aug 23 11:53:21 EDT 2021


Steven D'Aprano <steve+python at pearwood.info> added the comment:

Okay, reopening the ticket with a new description.

`from module import *` should use the same NFKC normalisation on the names in `__all__`.

To be clear, I don't propose that `__all__` should be modified.

----------
resolution: not a bug -> 
stage: resolved -> 
status: closed -> open
title: `module has no attribute` when `__all__` includes certain unicode characters -> wildcard imports should normalise names in `__all__`
type: behavior -> enhancement
versions: +Python 3.11 -Python 3.9

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


More information about the Python-bugs-list mailing list