Testing for public globals missing from __all__

How do you define public and private?

I see a lot of overlap in this proposal to find which public names are missing from __all__, with @ryan-duve’s proposal to find which public functions are missing from the docs.

@guido wrote there:

And I think the same essentially applies to __all__.

If we had some sort of list of “public-looking names but not actually public”, that could be used by both proposals.

2 Likes