fjgo / dangerous-prototypes-open-hardware

Automatically exported from code.google.com/p/dangerous-prototypes-open-hardware
0 stars 1 forks source link

no exceptions in case of failures #9

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
pyBusPirateLite doesn't raise exceptions when error conditions happen. 
Sometimes errors are indicated by 0 return value. This is very unpythonic 
leading to bad code and hiding failures.

Feature request:
Convert library to raise exceptions on error conditions.

Original issue reported on code.google.com by ar...@maven.pl on 25 Jan 2014 at 9:48