SIGN IN SIGN UP

gh-116946: add `Py_TPFLAGS_IMMUTABLETYPE` to several internal types (#138582)

The following types are now immutable:

* `_curses_panel.panel`,
* `[posix,nt].ScandirIterator`, `[posix,nt].DirEntry` (exposed in `os.py`),
* `_remote_debugging.RemoteUnwinder`,
* `_tkinter.Tcl_Obj`, `_tkinter.tkapp`, `_tkinter.tktimertoken`,
* `zlib.Compress`, and `zlib.Decompress`.
B
Bénédikt Tran committed
4978bfca1033358504c7a4ebbe33f0c28bededf7
Parent: 859aecc
Committed by GitHub <noreply@github.com> on 9/11/2025, 7:56:20 AM