Repository navigation
Commit 223364f
Reduce C stack usage of `_PyModule_IsPossiblyShadowing`, which could
potentially cause stack overflows during module attribute access while
deeply recursing in agressively optimized builds.
(cherry picked from commit 53be7d4)
Co-authored-by: T. Wouters <thomas@python.org>
1 parent 21238ec commit 223364f
2 files changed
Lines changed: 24 additions & 11 deletions
File tree
- Misc/NEWS.d/next/Core_and_Builtins
- Objects
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
922 | 922 | | |
923 | 923 | | |
924 | 924 | | |
| 925 | + | |
| 926 | + | |
| 927 | + | |
| 928 | + | |
925 | 929 | | |
926 | 930 | | |
927 | 931 | | |
| |||
940 | 944 | | |
941 | 945 | | |
942 | 946 | | |
943 | | - | |
944 | | - | |
945 | | - | |
| 947 | + | |
| 948 | + | |
946 | 949 | | |
947 | 950 | | |
948 | | - | |
949 | | - | |
950 | 951 | | |
951 | 952 | | |
952 | 953 | | |
953 | | - | |
| 954 | + | |
954 | 955 | | |
955 | 956 | | |
956 | 957 | | |
957 | 958 | | |
958 | 959 | | |
959 | 960 | | |
960 | | - | |
| 961 | + | |
961 | 962 | | |
962 | 963 | | |
963 | 964 | | |
964 | 965 | | |
965 | 966 | | |
966 | 967 | | |
967 | 968 | | |
968 | | - | |
| 969 | + | |
969 | 970 | | |
970 | 971 | | |
971 | | - | |
972 | 972 | | |
973 | 973 | | |
| 974 | + | |
| 975 | + | |
| 976 | + | |
| 977 | + | |
| 978 | + | |
| 979 | + | |
974 | 980 | | |
975 | 981 | | |
976 | 982 | | |
977 | | - | |
| 983 | + | |
978 | 984 | | |
979 | 985 | | |
980 | 986 | | |
981 | 987 | | |
982 | | - | |
| 988 | + | |
| 989 | + | |
| 990 | + | |
| 991 | + | |
| 992 | + | |
983 | 993 | | |
984 | 994 | | |
985 | 995 | | |
| |||
0 commit comments