[Python-Dev] Python 3 design principles

Collin Winter collinw at gmail.com
Wed Aug 31 23:00:54 CEST 2005


Am 31-Aug 05, Charles Cazabon <python at discworld.dyndns.org> schrieb:

> Perhaps py3k could have a py2compat module.  Importing it could have the
> effect of (for instance) putting compile, id, and intern into the global
> namespace, making print an alias for writeln, alias the standard library
> namespace, ... ?

from __past__ import python2

Grüße,
Collin Winter


More information about the Python-Dev mailing list