dss-extensions / DSS-Python

Native, "direct" Python bindings (interface) and misc tools for a custom implementation of OpenDSS (EPRI Distribution System Simulator). Based on CFFI, DSS C-API, aiming for full COM API-level compatibility on Windows, Linux and MacOS, while providing various extensions.
https://dss-extensions.org/DSS-Python/
BSD 3-Clause "New" or "Revised" License
58 stars 4 forks source link

Add option to disable exceptions #54

Closed PMeira closed 1 year ago

PMeira commented 1 year ago

Port https://github.com/dss-extensions/dss_sharp/commit/9fdd75e932d8a08c02effd5bb60ab3485b279194 to DSS-Python (and ODD.py).

In case of code that did actually check for errors manually, this should alleviate concerns about upgrades or migrations. (Personal note: I haven't seen any public code that did correctly check for errors, but I'm sure there are closed-source codebases that did).