Gregory P. Smith <g...@krypto.org> added the comment:

PyBytesObject could become a struct that contains a single opaque internal 
struct.

there is some code out there that references PyBytesObjects internals by field 
name but my searches across a broad swath of code so far seem to suggest that 
is so rare this change may be plausible (more research needed).  People are 
using the PyBytes_ macros and APIs.  yay!

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue40120>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to