Open christian-korneck opened 2 years ago
@christian-korneck your dream is complete
Let's try it, python bindings cgo-less
@aadog do you have a buffer protocol example?
What is he
go to python or python to go,They are done automatically
string->str intT ->intT
If it is not supported, please return * pyobject to convert manually, or modify pyconvert
All this should be simple, but I don't know what type of byte should be converted to Python
I wonder if it would make sense to add the Python3 C-API functions related to the Python buffer protocol. This might make it easier to share bytes between Go and Python? (i.e. io.Reader/io.Writer stuff).
https://docs.python.org/3/c-api/buffer.html