Replace functions with ones that succeed or die with lexical scope

Label Latest Version
cf201901 2.29
main 2.29
PRIVACY POLICY  |  EULA (Anaconda Cloud v2.33.29) © 2019 Anaconda, Inc. All Rights Reserved.