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

Guido van Rossum guido at python.org
Wed Nov 28 01:46:47 CET 2007


On Nov 27, 2007 3:56 PM, Georg Brandl <g.brandl at gmx.net> wrote:
> Guido van Rossum schrieb:
> > Most of these look like they are closely tied to the actual Python
> > implementation, and could be put in a new module e.g. "pyvm". Except
> > dictproxy and dict_keys etc., which might be better off in the
> > collections module.
>
> Can you do something usable with them from Python code (except
> type testing)?

Right now you cannot -- these all refuse to create instances. But it
shouldn't be hard to add this capability. I think these should all
accept arbitrary mappings as arguments rather than just dicts.
Possibly they should be renamed.

-- 
--Guido van Rossum (home page: http://www.python.org/~guido/)


More information about the Python-checkins mailing list