Skip to content

Commit

Permalink
Improve tco disabling
Browse files Browse the repository at this point in the history
  • Loading branch information
evhub committed Dec 23, 2023
1 parent bc0bad1 commit b88803b
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions coconut/constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -439,11 +439,11 @@ def get_path_env_var(env_var, default):
r"locals",
r"globals",
r"(py_)?super",
r"(typing\.)?cast",
r"(sys\.)?exc_info",
r"(sys\.)?_getframe",
r"(sys\.)?_current_frames",
r"(sys\.)?_current_exceptions",
r"cast",
r"exc_info",
r"sys\.[a-zA-Z0-9_.]+",
r"traceback\.[a-zA-Z0-9_.]+",
r"typing\.[a-zA-Z0-9_.]+",
)

py3_to_py2_stdlib = {
Expand Down

0 comments on commit b88803b

Please sign in to comment.