[Python-Dev] Python 3 design principles
Reinhold Birkenfeld
reinhold-birkenfeld-nospam at wolke7.net
Thu Sep 1 08:18:19 CEST 2005
More information about the Python-Dev mailing list
Thu Sep 1 08:18:19 CEST 2005
- Previous message: [Python-Dev] Python 3 design principles
- Next message: [Python-Dev] Replacement for print in Python 3.0
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Greg Ewing wrote: > Charles Cazabon wrote: > >> 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, > > There's no way importing a module could add something that > works like the old print statement, unless some serious > magic is going on... You'd have to enclose print arguments in parentheses. Of course, the "trailing comma" form would be lost. Reinhold -- Mail address is perfectly valid!
- Previous message: [Python-Dev] Python 3 design principles
- Next message: [Python-Dev] Replacement for print in Python 3.0
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-Dev mailing list