суббота, 9 февраля 2013 г., 15:28:51 UTC+4 пользователь Chris Angelico написал:
> On Sat, Feb 9, 2013 at 10:23 PM, Vlasov Vitaly <vnig...@gmail.com> wrote:
> 
> > Hello.
> 
> >
> 
> > I found strange behavior of curses module, that i can't understand. I 
> > initialize screen with curses.initscr(), then i create subwin of screen 
> > with screen.subwin(my_subwin_sizes). After that i fill subwin with my_char 
> > in for-loop. On last char in last line subwin.addch() raises exception.
> 
> >
> 
> > This is my problem. Why? How to fix it?
> 
> >
> 
> > (If i will ignore exception, then last char will be displayed)
> 
> >
> 
> > Here simple example:
> 
> > http://pastebin.com/SjyMsHZB
> 
> 
> 
> What exception is being raised? That's kinda the most important part here :)
> 
> 
> 
> ChrisA

curses.error <-- all curses-related exception
Exception text: curses.error: 'addch() returned ERR'
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to