]> git.ipfire.org Git - thirdparty/libsolv.git/commit
Use PyBytes_AsStringAndSize() instead of PyObject_AsReadBuffer() for python3
authorMichael Schroeder <mls@suse.de>
Mon, 16 Nov 2020 12:45:13 +0000 (13:45 +0100)
committerMichael Schroeder <mls@suse.de>
Mon, 16 Nov 2020 12:45:13 +0000 (13:45 +0100)
commit170f8550b89c6c9e61b40e782cd75148825c2e89
tree644339e22ef90ae14c1320300f3f0044c6c62ca3
parent958c8396ade46920b87f29f1f75456d97cc63812
Use PyBytes_AsStringAndSize() instead of PyObject_AsReadBuffer() for python3

PyObject_AsReadBuffer was deprecated since python-3.0 and has
now been removed in python-3.10.

Fixes issue #410
bindings/solv.i