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

Antoine Pitrou solipsis at pitrou.net
Thu Nov 14 10:12:02 CET 2013


On Tue, 12 Nov 2013 11:45:30 +0800
Xuancong Wang <xuancong84 at gmail.com>
wrote:
> Hi python developers,
> 
> I notice that one major change in python 3 is that it makes 'print' as a
> standard function, and it will require typing (). I do understand that it
> makes python language more consistent because most of the python
> functionalities are implemented as function calls.
> 
> As you know, reading from and writing to IO is a high frequency operation.
> By entropy coding theorem (e.g. Huffman coding), an efficient language
> should assign shorter language code to more frequent tasks. Typing a '('
> requires holding SHIFT and pressing 9, the input effort is much higher than
> that in Python 2. Also, specifying IO has changed from >>* to file=*, which
> also becomes more inconvenient.

As a reminder, having to hold SHIFT to enter a parenthesis depends on
your keyboard layout.

Not everyone uses an American keyboard.

Regards

Antoine.




More information about the Python-ideas mailing list