__all__ attribute: bug and proposal

Pavel S pavel at schon.cz
Mon Jun 27 18:29:26 EDT 2016


> but what about integers or strings?

Can you provide example?

---
No matter if __all__ uses names or objects, I think it should be validated not only when importing '*', but always.

Frankly, do you always unit-test if __all__ works?



More information about the Python-list mailing list