Re: [Python-Dev] Should 2to3 convert Exceptions from

2012-09-02 Thread Lennart Regebro
Switched from python-dev to python-porting. On Sun, Sep 2, 2012 at 9:48 PM, anatoly techtonik wrote: > I work offline from remote location about 2000m above the sea level. There > is no internet connection here, so I can not use tracker online. I need a > Python editor here, and I have Spyder che

[Python-Dev] Should 2to3 convert Exceptions from

2012-09-02 Thread anatoly techtonik
I work offline from remote location about 2000m above the sea level. There is no internet connection here, so I can not use tracker online. I need a Python editor here, and I have Spyder checkout. The problem is that my installation has only Python3. I've tried using 2to3 from setup.py (attached),

Re: [Python-Dev] [Python-ideas] itertools.chunks(iterable, size, fill=None)

2012-09-02 Thread anatoly techtonik
On Sat, Sep 1, 2012 at 5:42 PM, Miki Tebeka wrote: > See the "grouper" example in http://docs.python.org/library/itertools.html As was discussed before, the problem is visibility of the solution, not the implementation. If we can divide core Python API into levels where 0 is the less important an

Re: [Python-Dev] Unicode support of the curses module in Python 3.3

2012-09-02 Thread Victor Stinner
>> For example, if the Python curses module is not linked to libncursesw, >> get_wch() is not available and addch("é") raises an OverflowError if >> the locale encoding is UTF-8 (because "é".encode("utf-8") is longer >> than 1 byte). > > OverflowError? That is very surprising. I wouldn't guess that