Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #6219
| Path | csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!aioe.org!feeder.news-service.com!xlned.com!feeder5.xlned.com!newsfeed.xs4all.nl!newsfeed6.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <python-python-list@m.gmane.org> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.003 |
| X-Spam-Evidence | '*H*': 0.99; '*S*': 0.00; 'author:': 0.03; '2.1': 0.04; 'run,': 0.07; '2.3,': 0.09; 'command.': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:80.91.229.12': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'received:lo.gmane.org': 0.09; 'output': 0.11; 'casey': 0.16; 'from:addr:yahoo.com.ar': 0.16; 'case.': 0.16; 'thu,': 0.22; 'code': 0.24; 'changed': 0.25; 'correct': 0.28; 'version': 0.29; 'skip:> 30': 0.30; 'header:X-Complaints- To:1': 0.32; 'to:addr:python-list': 0.33; 'header:User-Agent:1': 0.35; 'hold': 0.36; 'received:org': 0.38; 'subject:: ': 0.38; 'header:Mime-Version:1': 0.39; 'to:addr:python.org': 0.39; 'matter': 0.63; 'contacting': 0.71; 'received:190': 0.74; '-0300,': 0.84; '2.3.': 0.84; 'cleared': 0.84; 'genellina': 0.84; 'gabriel': 0.91 |
| X-Injected-Via-Gmane | http://gmane.org/ |
| To | python-list@python.org |
| From | "Gabriel Genellina" <gagsl-py2@yahoo.com.ar> |
| Subject | Re: pexpect: TIMEOUT no longer clears child.before |
| Date | Wed, 25 May 2011 06:45:17 -0300 |
| References | <ma7Bp.4504$aH5.3721@viwinnwfe02.internal.bigpond.com> |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=iso-8859-1; format=flowed; delsp=yes |
| Content-Transfer-Encoding | 8bit |
| X-Gmane-NNTP-Posting-Host | 190.2.4.25 |
| User-Agent | Opera Mail/11.11 (Win32) |
| X-BeenThere | python-list@python.org |
| X-Mailman-Version | 2.1.12 |
| 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.2065.1306316616.9059.python-list@python.org> (permalink) |
| Lines | 19 |
| NNTP-Posting-Host | 82.94.164.166 |
| X-Trace | 1306316616 news.xs4all.nl 49182 [::ffff:82.94.164.166]:48463 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | x330-a1.tempe.blueboxinc.net comp.lang.python:6219 |
Show key headers only | View raw
En Thu, 19 May 2011 08:29:21 -0300, Adrian Casey <mail@agcasey.com> escribió: > The behaviour of pexpect has changed between version 2.1 and 2.3. In > version 2.1, the following code would result in child.before being > cleared -: > > >>>child.expect(pexpect.TIMEOUT,1) > In version 2.3, this is no longer the case. No matter how many times > the above code is run, child.before continues to hold the output from > previous commands. It is important to be able to clear the contents of > child.before between each command. What is the correct way to do this > in version 2.3? Try contacting the author: www.noah.org -- Gabriel Genellina
Back to comp.lang.python | Previous | Next — Previous in thread | Find similar | Unroll thread
pexpect: TIMEOUT no longer clears child.before Adrian Casey <mail@agcasey.com> - 2011-05-19 20:59 +0930 Re: pexpect: TIMEOUT no longer clears child.before "Gabriel Genellina" <gagsl-py2@yahoo.com.ar> - 2011-05-25 06:45 -0300
csiph-web