Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #38513
| X-Received | by 10.224.175.65 with SMTP id w1mr5091947qaz.7.1360413502539; Sat, 09 Feb 2013 04:38:22 -0800 (PST) |
|---|---|
| X-Received | by 10.49.48.41 with SMTP id i9mr695033qen.36.1360413502493; Sat, 09 Feb 2013 04:38:22 -0800 (PST) |
| Path | csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!news.glorb.com!p13no5974471qai.0!news-out.google.com!k2ni19249qap.0!nntp.google.com!p13no5974462qai.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail |
| Newsgroups | comp.lang.python |
| Date | Sat, 9 Feb 2013 04:38:22 -0800 (PST) |
| In-Reply-To | <mailman.1541.1360409341.2939.python-list@python.org> |
| Complaints-To | groups-abuse@google.com |
| Injection-Info | glegroupsg2000goo.googlegroups.com; posting-host=94.143.44.204; posting-account=HJeeUwoAAACqQZf2_3yuey8U4o2rTRn3 |
| NNTP-Posting-Host | 94.143.44.204 |
| References | <3adc871c-9a35-42ea-9687-52413d72a918@googlegroups.com> <mailman.1541.1360409341.2939.python-list@python.org> |
| User-Agent | G2/1.0 |
| MIME-Version | 1.0 |
| Message-ID | <6c2e8a19-2495-4d71-b7b8-c2d45cffe003@googlegroups.com> (permalink) |
| Subject | Re: Python3 curses behavior |
| From | Vlasov Vitaly <vnigtha@gmail.com> |
| Cc | python-list@python.org |
| Injection-Date | Sat, 09 Feb 2013 12:38:22 +0000 |
| Content-Type | text/plain; charset=UTF-8 |
| Content-Transfer-Encoding | quoted-printable |
| Xref | csiph.com comp.lang.python:38513 |
Show key headers only | View raw
суббота, 9 февраля 2013 г., 15:28:51 UTC+4 пользователь Chris Angelico написал: > On Sat, Feb 9, 2013 at 10:23 PM, Vlasov Vitaly <vnigtha@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'
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Python3 curses behavior Vlasov Vitaly <vnigtha@gmail.com> - 2013-02-09 03:23 -0800
Re: Python3 curses behavior Chris Angelico <rosuav@gmail.com> - 2013-02-09 22:28 +1100
Re: Python3 curses behavior Vlasov Vitaly <vnigtha@gmail.com> - 2013-02-09 04:38 -0800
Re: Python3 curses behavior Vlasov Vitaly <vnigtha@gmail.com> - 2013-02-09 04:38 -0800
Re: Python3 curses behavior Terry Reedy <tjreedy@udel.edu> - 2013-02-09 14:22 -0500
Re: Python3 curses behavior Vlasov Vitaly <vnigtha@gmail.com> - 2013-02-10 14:06 -0800
Re: Python3 curses behavior Dan Stromberg <drsalists@gmail.com> - 2013-02-11 15:53 -0800
Re: Python3 curses behavior Vlasov Vitaly <vnigtha@gmail.com> - 2013-02-10 14:06 -0800
csiph-web