#8 Remove unconditional except-statements

open-accepted
Examples (1)
5
2010-11-24
2010-10-09
Frank Morgner
No

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.

Discussion

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

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