Re: [Cocci] [PATCH Python 10] bundles/pyml: Remove bindings for PyObject_As(Char|Read|Write)Buffer

2020-11-10 Thread Julia Lawall
On Tue, 10 Nov 2020, Richard W.M. Jones wrote: > On Tue, Nov 10, 2020 at 03:10:57PM +, Richard W.M. Jones wrote: > > Some more functions were deprecated/removed in Python 10, > > breaking Coccinelle compiles. It was reported by Fedora's > > Python team here: > > > >

Re: [Cocci] [PATCH Python 10] bundles/pyml: Remove bindings for PyObject_As(Char|Read|Write)Buffer

2020-11-10 Thread Richard W.M. Jones
On Tue, Nov 10, 2020 at 03:10:57PM +, Richard W.M. Jones wrote: > Some more functions were deprecated/removed in Python 10, > breaking Coccinelle compiles. It was reported by Fedora's > Python team here: > > https://bugzilla.redhat.com/show_bug.cgi?id=1896393 > > I have fixed it by chopping

[Cocci] [PATCH Python 10] bundles/pyml: Remove bindings for PyObject_As(Char|Read|Write)Buffer

2020-11-10 Thread Richard W.M. Jones
Some more functions were deprecated/removed in Python 10, breaking Coccinelle compiles. It was reported by Fedora's Python team here: https://bugzilla.redhat.com/show_bug.cgi?id=1896393 I have fixed it by chopping out bindings for these functions from the bundled pyml, and it compiles fine for

[Cocci] [PATCH Python 10] bundles/pyml: Remove bindings for PyObject_As(Char|Read|Write)Buffer

2020-11-10 Thread Richard W.M. Jones
These have been removed in Python 3.10. Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1896393 Signed-off-by: Richard W.M. Jones --- bundles/pyml/pyml-current/py.ml| 12 bundles/pyml/pyml-current/py.mli | 12 bundles/pyml/pyml-current/pycaml.ml|