On Thu, Nov 11, 2010 at 7:01 AM, Michael Foord <fuzzyman at voidspace.org.uk> wrote: .. >> Is it OK to add __all__ to such modules that does not include all >> names not starting with an underscore? Is it OK to then remove names >> that clearly were not intended to be public? > > Given the rules I suggested, which are basically the same as the one *you* > are saying are already in place, if "import *" exports these names then you > shouldn't change that behaviour without going through the deprecation > process. I don't dispute that these are *the* rules, but my question was whether it is ok to break them in specific cases such as trace.rx_blank. If not, how can we deprecate trace.rx_blank which is a regex constant? Another specific case is token.main. See <http://bugs.python.org/issue10386>.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4