diff options
author | Eddie Elizondo <eelizondo@fb.com> | 2019-11-05 15:16:14 (GMT) |
---|---|---|
committer | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2019-11-05 15:16:14 (GMT) |
commit | b3966639d28313809774ca3859a347b9007be8d2 (patch) | |
tree | 9724c4c0efe096bb5a58fa7eabbf176deb656d90 /Misc | |
parent | 5e01a6542a1beb552a17e16b71dc0ba9fc6adcfb (diff) | |
download | cpython-b3966639d28313809774ca3859a347b9007be8d2.zip cpython-b3966639d28313809774ca3859a347b9007be8d2.tar.gz cpython-b3966639d28313809774ca3859a347b9007be8d2.tar.bz2 |
bpo-35381 Remove all static state from posixmodule (GH-15892)
After #9665, this moves the remaining types in posixmodule to be heap-allocated to make it compatible with PEP384 as well as modifying all the type accessors to fully make the type opaque.
The original PR that got messed up a rebase: https://github.com/python/cpython/pull/10854. All the issues in that commit have now been addressed since https://github.com/python/cpython/pull/11661 got committed.
This change also removes any state from the data segment and onto the module state itself.
https://bugs.python.org/issue35381
Automerge-Triggered-By: @encukou
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/NEWS.d/next/C API/2019-01-18-17-05-26.bpo-35381.9CbeW3.rst | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/C API/2019-01-18-17-05-26.bpo-35381.9CbeW3.rst b/Misc/NEWS.d/next/C API/2019-01-18-17-05-26.bpo-35381.9CbeW3.rst new file mode 100644 index 0000000..a7efce4 --- /dev/null +++ b/Misc/NEWS.d/next/C API/2019-01-18-17-05-26.bpo-35381.9CbeW3.rst @@ -0,0 +1,2 @@ +Convert posixmodule.c statically allocated types ``DirEntryType`` and +``ScandirIteratorType`` to heap-allocated types. |