Disabling a flag requires a context
Rename exception based on Python lib