PEP 842: Module Exports (new revision)

That is a separate issue, which we declared out of scope for this PEP. I encourage you to start a new PEP for that, it would be very interesting.

In TypeScript, for class attributes there’s a different policy (public by default) and a ‘private’ keyword.

2 Likes