Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#1 Fixed an OSError in pexpect.close

closed-accepted
nobody
None
5
2004-02-27
2003-11-18
Erick Tryzelaar
No

Fixed an OSError in pexpect.close

I believe it happened with the spawn class was garbage
collected

Discussion

  • diff of my patch

     
    Attachments
  • Noah Spurrier
    Noah Spurrier
    2004-02-27

    Logged In: YES
    user_id=59261

    I applied the patch and ran regression tests.
    Note that the tests did not specifically touch this line of
    code since
    it's kind of a rare case anyway, but I don't think this will
    hurt.
    The only downside is that this will hide the problem if it later
    turns out that there was a better way to prevent this exception.
    In other words, this may cover a bug... Therefore it's possible
    that I might back this change out someday.

     
  • Noah Spurrier
    Noah Spurrier
    2004-02-27

    • status: open --> closed-accepted