Thinking about "print >>"

Alex Martelli aleaxit at yahoo.com
Sat Sep 9 18:42:39 EDT 2000


"Michael D. Marchionna" <tralfaz at pacbell.net> wrote in message
news:39BAA5BF.E562053C at pacbell.net...
> Wouldn't it just plain be simpler to create a new builtin with a different
> name that takes a file object as its first argument.  Just call it
'fprint', or

Yes, it would be much simpler.  It's also easy to arrange for that
in your site's customization, actually.

> This is the first time I've run across a python idiom that I truly find
> embarassing.

Yep -- I feel exactly the same way as you about this issue.


Alex






More information about the Python-list mailing list