#8 Remove unconditional except-statements

v1.0 (example)
Examples (1)

pyscard contains several unconditional except-statements, which catch no matter what exception. When calling sys.exit() from a CardObserver attatched to a CardMonitor it exits the observer-thread and raises a SystemExit-exception. This could normally be catched by the main thread, but I suppose that it vanishes somewhere at those unconditional except-statements.

If I am wrong, please show me how to exit the whole thread from an observer. Thank you in advance.


  • jean-daniel aussel

    will need to review all unconditional except-statements, focusing at the beginning at fixing the sys.exit() sample from a CardObserver.

  • jean-daniel aussel

    • labels: --> Examples
    • assigned_to: nobody --> jdaussel
    • status: open --> open-accepted
  • Ludovic Rousseau

    This bug should be fixed in recent version of PySCard. Closing now.

  • Ludovic Rousseau

    • status: open-accepted --> closed-fixed
    • Group: --> v1.0 (example)

Log in to post a comment.