You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
UNSAFE = ALWAYS_BE_UNSAFE or not jail_code.is_configured("python")
This runs on import, and if UNSAFE is set, it overrides safe_exec with an unsafe version. The code attempts to log a warning, but fails unless loggers are configured the edX way (simply stating 'No handlers could be found for logger "codejail.safe_exec"').
The text was updated successfully, but these errors were encountered:
This code will run outside of a sandbox:
This code will run in a sandbox:
The only difference is the order of the calls.
The code which specifically breaks is:
This runs on import, and if UNSAFE is set, it overrides safe_exec with an unsafe version. The code attempts to log a warning, but fails unless loggers are configured the edX way (simply stating 'No handlers could be found for logger "codejail.safe_exec"').
The text was updated successfully, but these errors were encountered: