Menu

bad "except Excecption" in 1.4.2

2006-04-11
2013-05-14
  • Erick Tryzelaar

    Erick Tryzelaar - 2006-04-11

    Hello,

    I found that the latest version has a "except Exception, e:" on line 656. This is catching my KeyboardInterrupt. I simply added a raise which fixes this problem. Any chance this could get a hotfix?

    Thanks,
    -e

     
    • Paul McGuire

      Paul McGuire - 2006-04-11

      Erick -

      Change line 656 to read:
                  except ParseBaseException, pe:

      I'll fix this in the next release.

      There are two other "except Exception" statements in pyparsing, but they occur during grammar definition, not during parsing.  I'll fix these in the next release too.

      Is this sufficient, or do you need a new version released?

      -- Paul

       
    • Erick Tryzelaar

      Erick Tryzelaar - 2006-04-11

      It depends. When do you expect the next release? I personally need this in order to release my code, but can maintain my own patched version for now.

      -e

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.