News for hackers. Stuff that matters.
Re:CommonJS Is The Future For Rails JavaScript Packaging by MBlume on Saturday July 02, 2011 @02:28PM (#2722130)
setting module-level __all__ can modify what gets pulled in a wild import, but that's about it.
Re:CommonJS Is The Future For Rails JavaScript Packaging by masklinn on Saturday July 02, 2011 @02:33PM (#2722142)
It's also used by `help()` (and pydoc): if there's an __all__, help will only pull the docstrings of the stuff in __all__. `dir()`, on the other hand, does not care.