[Python-Dev] Python 3 design principles (original) (raw)
Greg Ewing greg.ewing at canterbury.ac.nz
Fri Sep 2 05:00:09 CEST 2005
- Previous message: [Python-Dev] Python 3 design principles
- Next message: [Python-Dev] Alternative imports (Re: Python 3 design principles)
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Reinhold Birkenfeld wrote:
Greg Ewing wrote:
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.
But you'd still have to rewrite old code to work with it, in which case you might as well change it to whatever the new way is in 3.0.
-- Greg Ewing, Computer Science Dept, +--------------------------------------+ University of Canterbury, | A citizen of NewZealandCorp, a | Christchurch, New Zealand | wholly-owned subsidiary of USA Inc. | greg.ewing at canterbury.ac.nz +--------------------------------------+
- Previous message: [Python-Dev] Python 3 design principles
- Next message: [Python-Dev] Alternative imports (Re: Python 3 design principles)
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]