
Aug. 10, 2019
12:45 a.m.
Kyle Stanley wrote:
It would also be appropriate to provide any user attempting to import a module that is going to be prepended with an underscore with warnings, and at least a couple of versions to update their code.
Clarification: When I mentioned prepending a module with an underscore, I meant for functions and classes within the module, not the module itself. It might be difficult to implement this in a way which does not cause an excessive number of warnings, but I think it's definitely worthwhile to aim towards having a fully consistent standard for differentiating public and private interfaces across all of stdlib.