]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-43973: object_set_class() checks Py_TPFLAGS_IMMUTABLETYPE (GH-25714)
authorErlend Egeberg Aasland <erlend.aasland@innova.no>
Fri, 30 Apr 2021 10:07:02 +0000 (12:07 +0200)
committerGitHub <noreply@github.com>
Fri, 30 Apr 2021 10:07:02 +0000 (12:07 +0200)
commitb73b5fb9ea08156991a065c1696e8d8cf7622482
tree6ffde4e950c5badb97bcd6d663e1fcff4ec7cd89
parent069e81ab3da46c441335ca762c4333b7bd91861d
 bpo-43973: object_set_class() checks Py_TPFLAGS_IMMUTABLETYPE (GH-25714)

Use Py_TPFLAGS_IMMUTABLETYPE to check for class assignments.
Objects/typeobject.c