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|

Re: [Cocci] Subject: [RFC] clang tooling cleanups

2020-11-10 Thread Tom Rix
On 11/9/20 6:52 PM, Joe Perches wrote: > On Tue, 2020-10-27 at 09:42 -0700, t...@redhat.com wrote: >> This rfc will describe >> An upcoming treewide cleanup. >> How clang tooling was used to programatically do the clean up. >> Solicit opinions on how to generally use clang tooling. >> >> The

Re: [Cocci] Subject: [RFC] clang tooling cleanups

2020-11-10 Thread Joe Perches
On Tue, 2020-10-27 at 09:42 -0700, t...@redhat.com wrote: > This rfc will describe > An upcoming treewide cleanup. > How clang tooling was used to programatically do the clean up. > Solicit opinions on how to generally use clang tooling. > > The clang warning -Wextra-semi-stmt produces about 10k