On 01/09/12 23:44, Victor Stinner wrote:
Hi,
I changed many functions of the curses module in Python 3.3 to improve
its Unicode support:
[...]
Thank you.
For example, if the Python curses module is not linked to libncursesw,
get_wch() is not available and addch("é") raises an OverflowError
See the "grouper" example in http://docs.python.org/library/itertools.html
On Friday, August 31, 2012 11:28:33 PM UTC-7, anatoly techtonik wrote:
>
> I've run into the necessity of implementing chunks() again. Here is
> the code I've made from scratch.
>
> def chunks(seq, size):
> '''Cut sequ
Hi,
I changed many functions of the curses module in Python 3.3 to improve
its Unicode support:
- new functions: curses.unget_wch() and window.get_wch()
- new attribute: window.encoding
- the default encoding is now the locale encoding instead of UTF-8
- use the C functions *_wch() and *wstr()
On Sat, 01 Sep 2012 13:55:11 +0900, "Stephen J. Turnbull"
wrote:
> "Martin v. Löwis" writes:
>
> > Unfortunately, this conflicts with the desire to use UTF-8 in attribute
> > values - RFC 822 (and also 2822) don't support this, but require the
> > use oF MIME instead (Q or B encoding).
>
>