]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-42157: unicodedata avoids references to UCD_Type (GH-22990)
authorVictor Stinner <vstinner@python.org>
Mon, 26 Oct 2020 18:19:36 +0000 (19:19 +0100)
committerGitHub <noreply@github.com>
Mon, 26 Oct 2020 18:19:36 +0000 (19:19 +0100)
commit920cb647ba23feab7987d0dac1bd63bfc2ffc4c0
tree9ce3f058110f5fef8469d7a4421adc7d66fe85a8
parent8374d2ee1589791be8892b00f4bbf8121dde24bd
bpo-42157: unicodedata avoids references to UCD_Type (GH-22990)

* UCD_Check() uses PyModule_Check()
* Simplify the internal _PyUnicode_Name_CAPI structure:

  * Remove size and state members
  * Remove state and self parameters of getcode() and getname()
    functions

* Remove global_module_state
Doc/whatsnew/3.10.rst
Include/internal/pycore_ucnhash.h
Misc/NEWS.d/next/C API/2020-10-16-10-47-17.bpo-1635741.e3BcPM.rst [deleted file]
Misc/NEWS.d/next/C API/2020-10-16-10-47-17.bpo-42157.e3BcPM.rst [new file with mode: 0644]
Modules/unicodedata.c
Objects/unicodeobject.c
Python/codecs.c