diff options
author | Dino Viehland <dinoviehland@gmail.com> | 2019-09-10 10:18:37 (GMT) |
---|---|---|
committer | T. Wouters <thomas@python.org> | 2019-09-10 10:18:37 (GMT) |
commit | 4f384af067d05b16a554bfd976934fca9f87a1cf (patch) | |
tree | 6ec350c55c6f0bfdd95bf6c70febdbd612e35d16 /Misc | |
parent | 43c9731334470573209464b7f67914d386457efc (diff) | |
download | cpython-4f384af067d05b16a554bfd976934fca9f87a1cf.zip cpython-4f384af067d05b16a554bfd976934fca9f87a1cf.tar.gz cpython-4f384af067d05b16a554bfd976934fca9f87a1cf.tar.bz2 |
bpo-38076: Make struct module PEP-384 compatible (#15805)
* PEP-384 _struct
* More PEP-384 fixes for _struct
Summary: Add a couple of more fixes for `_struct` that were previously missed such as removing `tp_*` accessors and using `PyBytesWriter` instead of calling `PyBytes_FromStringAndSize` with `NULL`. Also added a test to confirm that `iter_unpack` type is still uninstantiable.
* 📜🤖 Added by blurb_it.
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/NEWS.d/next/Core and Builtins/2019-09-09-16-36-37.bpo-38076.C5dVBl.rst | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Core and Builtins/2019-09-09-16-36-37.bpo-38076.C5dVBl.rst b/Misc/NEWS.d/next/Core and Builtins/2019-09-09-16-36-37.bpo-38076.C5dVBl.rst new file mode 100644 index 0000000..6f18c03 --- /dev/null +++ b/Misc/NEWS.d/next/Core and Builtins/2019-09-09-16-36-37.bpo-38076.C5dVBl.rst @@ -0,0 +1 @@ +The struct module is now PEP-384 compatible
\ No newline at end of file |