Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #38510
| Path | csiph.com!usenet.pasdenom.info!weretis.net!feeder1.news.weretis.net!feeder.erje.net!eu.feeder.erje.net!xlned.com!feeder3.xlned.com!news2.euro.net!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <rosuav@gmail.com> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.002 |
| X-Spam-Evidence | '*H*': 1.00; '*S*': 0.00; 'example:': 0.03; 'exception': 0.03; 'initialize': 0.05; 'exception.': 0.07; 'raises': 0.07; 'exception,': 0.09; 'subject:Python3': 0.09; 'ignore': 0.13; 'sat,': 0.15; 'curses': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'wrote:': 0.17; 'fix': 0.17; 'char': 0.17; 'module,': 0.17; 'feb': 0.19; 'header:In- Reply-To:1': 0.25; 'message-id:@mail.gmail.com': 0.27; 'problem.': 0.32; 'skip:s 30': 0.33; 'to:addr:python-list': 0.33; "can't": 0.34; 'received:google.com': 0.34; 'screen': 0.34; 'pm,': 0.35; 'received:209.85.220': 0.35; 'received:209.85': 0.35; 'being': 0.37; 'received:209': 0.37; 'subject:: ': 0.38; 'to:addr:python.org': 0.39; 'most': 0.61; 'strange': 0.62; 'behavior': 0.64; 'here': 0.65; '2013': 0.84; 'why?': 0.84 |
| DKIM-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:content-type:content-transfer-encoding; bh=BSREkleLBoKcy1D2OWVYUH42CVThJCyO8s9F3OdBlG8=; b=D9zrUKOEPaMI3aq6VzjLfD2U5hdhyyh5s8nAVs7/HfCZj/zOpi+ihGGiZuDq+ix7LM aZWs0rW5fGL1L9bdSA8V2+IgdhUhy+YyljJ7QRQYookhd2Yf6qI47yUkTUiZPlm22dED Wsk0IyPf3bAycOVfLeHGxuaWyli6H9YVlUGrHaqftEBanYgab/rL8WWFlRdHfTvl7vwt kQHjtMLF2MhpIpk0aJPMRqcKfRsaDs6Bxy9nZrn+r0847kY/r6pnRuh1aoAp6XjsS9cY MiBMdJzpmDPDpr93PzXOeIOpm4+MG/Z62E9ZfaGJCyOL7SEB8ucvUfJnAfhs+vcId1Hm EBJA== |
| MIME-Version | 1.0 |
| X-Received | by 10.220.149.200 with SMTP id u8mr10705103vcv.7.1360409332032; Sat, 09 Feb 2013 03:28:52 -0800 (PST) |
| In-Reply-To | <3adc871c-9a35-42ea-9687-52413d72a918@googlegroups.com> |
| References | <3adc871c-9a35-42ea-9687-52413d72a918@googlegroups.com> |
| Date | Sat, 9 Feb 2013 22:28:51 +1100 |
| Subject | Re: Python3 curses behavior |
| From | Chris Angelico <rosuav@gmail.com> |
| To | python-list@python.org |
| Content-Type | text/plain; charset=ISO-8859-1 |
| Content-Transfer-Encoding | quoted-printable |
| X-BeenThere | python-list@python.org |
| X-Mailman-Version | 2.1.15 |
| Precedence | list |
| List-Id | General discussion list for the Python programming language <python-list.python.org> |
| List-Unsubscribe | <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe> |
| List-Archive | <http://mail.python.org/pipermail/python-list/> |
| List-Post | <mailto:python-list@python.org> |
| List-Help | <mailto:python-list-request@python.org?subject=help> |
| List-Subscribe | <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.1541.1360409341.2939.python-list@python.org> (permalink) |
| Lines | 19 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1360409341 news.xs4all.nl 6902 [2001:888:2000:d::a6]:41526 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:38510 |
Show key headers only | View raw
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
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