Re: Python3: to add, remove and change

2009-04-05 Thread Joe P. Cool
On 2 Apr., 09:39, [email protected] wrote: > To change: + is a commutative operation, No, it _is_ not. It is rather _used_ frequently as a symbol for adding numbers, which happens to be a commutative operation. For me '+' means composing instances of a kind. If we are to narrow minded about

Re: Python3: to add, remove and change

2009-04-02 Thread Raymond Hettinger
On Apr 2, 12:39 am, [email protected] wrote: > To add again: tuple unpacking in function arguments: it's handy, hi- > level, de-clutters the code and shortens it too. +1 But you will have to talk to Brett about it. He's the one who led the effort to kill it. > To change: I'd like {:

Re: Python3: to add, remove and change

2009-04-02 Thread MRAB
[email protected] wrote: Here an informal list in random order of things that I may like to add or to remove to/from Python3.x+. [snip] To add: Python3 is much more lazy-flavour than Python 2.x (see lazy range, lazy dict views, etc). So islice becomes even more useful and more commonly

Python3: to add, remove and change

2009-04-02 Thread bearophileHUGS
Here an informal list in random order of things that I may like to add or to remove to/from Python3.x+. The things I list here don't come from fifty hours of thinking of mine, and they may be often wrong. But I use Python2.x often enough, so such things aren't totally random either. To remove: ma