Great solution.
I ended up adding something like the following to my module’s __init__() function:
@eval asserting() = get(ENV, "ENABLE_ASSERTS", "0") == "1"
Great solution.
I ended up adding something like the following to my module’s __init__() function:
@eval asserting() = get(ENV, "ENABLE_ASSERTS", "0") == "1"