[issue19522] A suggestion: python 3.* is not as convenient as python 2.*

wang xuancong report at bugs.python.org
Fri Nov 8 02:23:27 CET 2013


New submission from wang xuancong:

Hi python developers,

I notice that one major change in python 3 is that you make 'print' as a standard function, and it will require typing (). As you know, reading from and writing to IO is a high frequency operation. By entropy coding theorem, you should make your language having shortest code for doing that job. Typing a '(' requires holding SHIFT and pressing 9, the input effort is much higher. Also, specifying IO has changed from >>* to file=*, which becomes more inconvenient.

I hope you can take a look at user's code and see what are the most commonly used functions and try to shorten language codes for those functions. Assigning shortest language codes to most frequently used functions will make python the best programming language in the world.

Another suggestion is that 'enumerate' is also frequently used, hopefully you can shorten the command.

Wang Xuancong
National University of Singapore

----------
components: Interpreter Core
messages: 202400
nosy: xuancong84
priority: normal
severity: normal
status: open
title: A suggestion: python 3.* is not as convenient as python 2.*
type: enhancement
versions: Python 3.4

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue19522>
_______________________________________


More information about the Python-bugs-list mailing list