Skip to content

Conversation

@DinoV
Copy link
Contributor

@DinoV DinoV commented Sep 9, 2019

Makes the struct module PEP-384 compatible

https://bugs.python.org/issue38076

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.
@Yhg1s Yhg1s merged commit 4f384af into python:master Sep 10, 2019
@bedevere-bot
Copy link

@Yhg1s: Please replace # with GH- in the commit message next time. Thanks!

websurfer5 pushed a commit to websurfer5/cpython that referenced this pull request Jul 20, 2020
* 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.
@DinoV DinoV deleted the pep384/struct branch May 31, 2024 18:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants