Petr Viktorin <encu...@gmail.com> added the comment:

> I recommend to get feedback from NumPy, Pillow, and Cython devs first.

Could you split this into two PRs: one to add the new API, and another to  add 
things to the limited set?

There's no rush to add it to the limited API, esp. since it can't be tested 
with the intended consumers yet. And it's a hassle to remove mistakes from the 
limited API, even in alphas/betas.

To try this out I suggest making the struct opaque when something like 
`_PyBuffer_IS_OPAQUE` is #defined. Then you can let the compiler tell you what 
needs to change in those projects :)

----------

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

Reply via email to