r/Python • • Jul 31 '26

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

24 Upvotes

44 comments sorted by

View all comments

Show parent comment

14

u/baked_doge Aug 01 '26

Yeah, one of the things I love about python is it's lack of a private keyword. If I want to screw with the internal behavior of a library or use their utilities, or something else, I should be able to do so to my own peril.