close
Skip to content

PEP 843: Address open question and reviewer feedback - #5105

Merged
ZeroIntensity merged 1 commit into
python:mainfrom
NeilGirdhar:comments
Aug 22, 2026
Merged

PEP 843: Address open question and reviewer feedback#5105
ZeroIntensity merged 1 commit into
python:mainfrom
NeilGirdhar:comments

Conversation

@NeilGirdhar

@NeilGirdhar NeilGirdhar commented Aug 22, 2026

Copy link
Copy Markdown
Contributor

Guido asked that export * behave exactly like import *, including its no-__all__ fallback, rather than special-casing the wildcard form; that resolves the PEP's one open question, so the Open Issues section is gone.

Eneg found the __all__-creation rule too indirect, so it's now spelled out as three explicit cases with an example showing plain __all__ += still works after an export statement.

jorenham asked that the PEP say plainly that export carries no restrictions of its own beyond import's, and call out if typing.TYPE_CHECKING: re-exports as an intended use case for stub-only packages like _typeshed.

@ZeroIntensity

Guido asked that export * behave exactly like import *, including its
no-__all__ fallback, rather than special-casing the wildcard form; that
resolves the PEP's one open question, so the Open Issues section is gone.

Eneg found the __all__-creation rule too indirect, so it's now spelled
out as three explicit cases with an example showing plain __all__ +=
still works after an export statement.

jorenham asked that the PEP say plainly that export carries no restrictions
of its own beyond import's, and call out if typing.TYPE_CHECKING:
re-exports as an intended use case for stub-only packages like
_typeshed.
@read-the-docs-community

Copy link
Copy Markdown

Documentation build overview

📚 pep-previews | 🛠️ Build #34187916 | 📁 Comparing fc45cfe against latest (ba4deeb)

  🔍 Preview build  

1 file changed
± pep-0843/index.html

@ZeroIntensity
ZeroIntensity merged commit 0363920 into python:main Aug 22, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants