Menu

#11 pexpect-487-expect_exact-bugs.patch

Unstable (example)
closed-accepted
nobody
None
5
2014-06-03
2007-12-11
Anonymous
No

[Also sent by mail to Noah on 2007-11-18]

Some fixes related to the expect_exact() patches I sent back in June.
As you see, they are against pexpect, SVN 487.

- Bug fix: expect_exact() was broken for a single TIMEOUT or EOF pattern,
and for lists of patterns, where TIMEOUT or EOF were in the list,
before a normal string pattern.

- Added tests to expose these bugs (by splicing into those tests
which excercised expect() and didn't use REs).

- Added some more tests for regressions since 2.1, in which pattern
is chosen as the match when many match -- something Noah brought up
earlier this year. I plan to send another patch to "fix" this later
today.

/Jörgen
<grahn+pexpect@snipabacken.dyndns.org>

Discussion

  • Nobody/Anonymous

    pexpect-487-expect_exact-bugs.patch

     
  • Thomas Kluyver

    Thomas Kluyver - 2014-06-03

    It seems this patch got accepted. Thanks!

     
  • Thomas Kluyver

    Thomas Kluyver - 2014-06-03
    • status: open --> closed-accepted
    • Group: --> Unstable (example)
     

Log in to post a comment.

MongoDB Logo MongoDB