[Python-ideas] A suggestion for Python 3 vs Python 2

anatoly techtonik techtonik at gmail.com
Wed Nov 13 19:58:10 CET 2013


On Wed, Nov 13, 2013 at 6:12 AM, Stephen J. Turnbull <stephen at xemacs.org> wrote:
> anatoly techtonik writes:
>
>  > the User eXperience - don't you think that fast-typing "print var" is more
>  > convenient than "print(var)"?
>
> Sure, but I don't type either: I typically type "pr<TAB>v<CLOVERLEAF+/>".

I presume this is some kind of IDE you're running. I can't install and use
IDEs in every shell / os / embed system / translated language where I have
to debug my Python code.

> Why complain about Python syntax when upgrading development tools
> could gives the same improvements without complicating Python?

This wisdom is absent from Python install instruction, so until it is there,
we may discuss alternatives.


So, what's wrong with supporting both:
1. print xxx   - as a statement (which maps to function call)
2. print(xxx)  - as an expression (which is a function call)

?


More information about the Python-ideas mailing list