]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-39465: Don't access directly _Py_Identifier members (GH-20043)
authorVictor Stinner <vstinner@python.org>
Mon, 11 May 2020 23:43:38 +0000 (01:43 +0200)
committerGitHub <noreply@github.com>
Mon, 11 May 2020 23:43:38 +0000 (01:43 +0200)
commit4804b5b3df82e7892ca0550b02f902bcfc16bb48
treea5c199a893d417fcce434e4412373e9a3ecd557f
parent27c0d9b54abaa4112d5a317b8aa78b39ad60a808
bpo-39465: Don't access directly _Py_Identifier members (GH-20043)

* Replace id->object with _PyUnicode_FromId(&id)
* Use _Py_static_string_init(str) macro to initialize statically
  name_op in typeobject.c.
Modules/_cursesmodule.c
Objects/abstract.c
Objects/typeobject.c
Python/ceval.c