[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_
Georg Brandl
g.brandl at gmx.net
Wed Nov 28 00:56:04 CET 2007
Jim Jewett schrieb:
> 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.)
At least creating modules via new.module() is quite common if you're
doing some import hackery. Having to call "inspect.module" would be
a bit obfuscatory IMO.
Georg, wondering why he had a Dejavu just now
More information about the Python-checkins
mailing list