Skip to content

PEP 843: Address comments - #5106

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

PEP 843: Address comments#5106
ZeroIntensity merged 1 commit into
python:mainfrom
NeilGirdhar:comments

Conversation

@NeilGirdhar

@NeilGirdhar NeilGirdhar commented Aug 22, 2026

Copy link
Copy Markdown
Contributor
  • Consolidated the __all__-normalization pseudocode into a single copy in
    Specification_, instead of repeating it three times.
  • Added an Open Issues section asking whether export should raise a
    DeprecationWarning on a non-list __all__.
  • Cited the canonical definition of DRY.
  • Restricted export to module level.

I also fixed the formatting to agree with PEP 12. (Sorry for the long diff.)

@NeilGirdhar NeilGirdhar changed the title PEP 843: Address open question and reviewer feedback PEP 843: Add citation Aug 22, 2026
@read-the-docs-community

read-the-docs-community Bot commented Aug 22, 2026

Copy link
Copy Markdown

Documentation build overview

📚 pep-previews | 🛠️ Build #34190463 | 📁 Comparing 7da32a1 against latest (0363920)

  🔍 Preview build  

1 file changed
± pep-0843/index.html

@NeilGirdhar
NeilGirdhar marked this pull request as draft August 22, 2026 21:05
@NeilGirdhar

Copy link
Copy Markdown
Contributor Author

Hold on, I'm going to address Jorenham's comment

@NeilGirdhar
NeilGirdhar marked this pull request as ready for review August 22, 2026 21:26
@NeilGirdhar
NeilGirdhar marked this pull request as draft August 22, 2026 21:28
@NeilGirdhar
NeilGirdhar force-pushed the comments branch 2 times, most recently from cf71515 to 846f982 Compare August 22, 2026 21:32
@NeilGirdhar
NeilGirdhar marked this pull request as ready for review August 22, 2026 21:32
@hugovk

hugovk commented Aug 22, 2026

Copy link
Copy Markdown
Member

Could you also include "DRY (don't repeat yourself)" for the first DRY mention in prose?

@NeilGirdhar

Copy link
Copy Markdown
Contributor Author

@hugovk Good idea, will do

- Consolidated the ``__all__``-normalization pseudocode into a single copy in
`Specification`_, instead of repeating it three times.
- Added an Open Issues section asking whether ``export`` should raise a
``DeprecationWarning`` on a non-list ``__all__``.
- Cited the canonical definition of DRY.
- Restricted ``export`` to module level.
@NeilGirdhar NeilGirdhar changed the title PEP 843: Add citation PEP 843: Address comments Aug 23, 2026
@ZeroIntensity

Copy link
Copy Markdown
Member

All ready here?

@ZeroIntensity

Copy link
Copy Markdown
Member

Also, again, please don't rewrite your commit history and force-push. It makes reviewing harder, and we squash this all into one commit when merging anyway.

@NeilGirdhar

NeilGirdhar commented Aug 23, 2026

Copy link
Copy Markdown
Contributor Author

Yes, ready!

@ZeroIntensity
ZeroIntensity merged commit 98aa0e5 into python:main Aug 23, 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.

3 participants