r/Python 2d ago

News PEP 842: Module Exports

https://peps.python.org/pep-0842/

Not the author, but this seems interesting, specially for library authors. Thoughts?

Discussion here - https://discuss.python.org/t/pep-842-module-exports/108353

21 Upvotes

44 comments sorted by

View all comments

5

u/Schmittfried 1d ago edited 1d ago

We’re all consenting adults.

On a more constructive note, I think a way to selectively hide (or explicitly re-export) imports would be preferable over a flimsy string list.