[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_

Christian Heimes lists at cheimes.de
Wed Nov 28 00:33:47 CET 2007


Georg Brandl wrote:
> I've just looked, and the types you can't get trivially via builtin or
> type(singleton) are
> 
> * module
> * function
> * generator
> * code
> * method
> * builtin-function-or-method
> * frame
> * traceback
> * dictproxy
> * getset- and member-descriptor
> 
> Where would one put them?

Python 3.0 has several more types that aren't exposed through types. For
example the views like dict_keys, dict_values and dict_items are not in
types.

Christian


More information about the Python-checkins mailing list