Repository navigation
Commit bbc0359
pythongh-151593: Fix dead lock in PyDict insert_split_key()
Do not hold LOCK_KEYS() lock when calling PyType_Modified() to avoid
a deadlock.
Co-authored-by: Neil Schemenauer <nas-github@arctrix.com>1 parent b6d89ed commit bbc0359
1 file changed
Lines changed: 9 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1923 | 1923 | | |
1924 | 1924 | | |
1925 | 1925 | | |
| 1926 | + | |
1926 | 1927 | | |
1927 | 1928 | | |
1928 | 1929 | | |
1929 | 1930 | | |
| 1931 | + | |
1930 | 1932 | | |
1931 | | - | |
1932 | 1933 | | |
1933 | 1934 | | |
1934 | 1935 | | |
| |||
1938 | 1939 | | |
1939 | 1940 | | |
1940 | 1941 | | |
| 1942 | + | |
| 1943 | + | |
| 1944 | + | |
| 1945 | + | |
| 1946 | + | |
| 1947 | + | |
| 1948 | + | |
1941 | 1949 | | |
1942 | 1950 | | |
1943 | 1951 | | |
| |||
0 commit comments