[Python-Dev] Breaking undocumented API

Guido van Rossum guido at python.org
Tue Nov 9 01:50:42 CET 2010


On Mon, Nov 8, 2010 at 3:55 PM, Glyph Lefkowitz <glyph at twistedmatrix.com> wrote:
> This seems like a pretty clear case of "practicality beats purity".  Not only has nobody complained about deprecatedModuleAttribute, but there are tons of things which show up in sys.modules that aren't modules in the sense of 'instances of ModuleType'.  The Twisted reactor, for example, is an instance, and we've been doing *that* for about 10 years with no complaints.

But the Twisted universe is only a subset of the Python universe. The
Python stdlib needs to move more carefully.

-- 
--Guido van Rossum (python.org/~guido)


More information about the Python-Dev mailing list