[Python-3000] Add python-3000-like print function to python 2.6

Christian Heimes lists at cheimes.de
Tue Oct 16 21:27:21 CEST 2007


David A. Wheeler wrote:
> In Python 2.6, could some print FUNCTION be added to the builtins, using a different name than "print" but with the Python 3000 semantics?  Call it printfunc or whatever.

I like xprint(). It follows the example of range/xrange, it's short,
fast to type and easy to remember. Neither google nor find -name \*.py |
xargs grep xprint revealed a method xprint.

Christian



More information about the Python-3000 mailing list