| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1902,10 +1902,7 @@ type_check_new_bases(PyTypeObject *type, PyObject *new_bases) | |||
| 1902 | 1902 | } | |
| 1903 | 1903 | ||
| 1904 | 1904 | // Checks on the new __bases__ value that depend on the current state of the | |
| 1905 | - // type hierarchy (inheritance cycles, layout compatibility). These can run | ||
| 1906 | - // Python code and release TYPE_LOCK, so they are validated optimistically: | ||
| 1907 | - // the caller snapshots the publish generation before calling this and | ||
| 1908 | - // the new bases are only stored if the generation is unchanged. | ||
| 1905 | + // type hierarchy (inheritance cycles, layout compatibility). | ||
| 1909 | 1906 | static int | |
| 1910 | 1907 | type_validate_new_bases(PyTypeObject *type, PyObject *new_bases, PyTypeObject **best_base) | |
| 1911 | 1908 | { | |
| Back | FazBrowse Home | New Git URL |
0 commit comments