Commit 0563ec9
committed
gh-153062: Keep the default build on the simple tee iteration path
The free-threading snapshot and revalidation add per-element overhead on the default build, where the GIL already serializes access. Guard that path under Py_GIL_DISABLED so the default build keeps the original iteration and the free-threaded path is unchanged.1 parent c7f1112 commit 0563ec9
1 file changed
Lines changed: 19 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
951 | 951 | | |
952 | 952 | | |
953 | 953 | | |
| 954 | + | |
| 955 | + | |
| 956 | + | |
| 957 | + | |
| 958 | + | |
| 959 | + | |
| 960 | + | |
| 961 | + | |
| 962 | + | |
| 963 | + | |
| 964 | + | |
| 965 | + | |
| 966 | + | |
| 967 | + | |
| 968 | + | |
| 969 | + | |
| 970 | + | |
| 971 | + | |
954 | 972 | | |
955 | 973 | | |
956 | 974 | | |
| |||
991 | 1009 | | |
992 | 1010 | | |
993 | 1011 | | |
| 1012 | + | |
994 | 1013 | | |
995 | 1014 | | |
996 | 1015 | | |
| |||
0 commit comments