[Python-checkins] r59200 - in python/trunk: Demo/newmetaclasses/Eiffel.py Lib/compiler/pyassem.py Lib/doctest.py Lib/modulefinder.py Lib/test/test_descr.py Lib/test/test_doctest.py Lib/test/test_funcattrs.py Lib/test/test_getopt.py Lib/test/test_

Jim Jewett jimjjewett at gmail.com
Wed Nov 28 00:36:43 CET 2007


On 11/27/07, Georg Brandl <g.brandl at gmx.net> wrote:
> Guido van Rossum schrieb:

> > Yes, I'm hoping we'll be able to get rid of the types module
> > altogether. The idea of collecting all type names in one module
> > doesn't make sense anyway; it's better to group things by
> > functionality.

> ... * module * function * generator ...

> Where would one put them?

There really isn't any reason to need the types, unless you're doing
introspection.  (Even building objects by hand to get around the
compiler still tends to at least use introspection.)

If these were just module-level attributes available from the inspect
module, that would probably be good enough for users.  (I have not
checked whether the types are needed by the interpreter for
bootstrapping.)

-jJ


More information about the Python-checkins mailing list