[Cocci] Regression in Python Support

2016-10-11 Thread Michael Stefaniuc
Hello Thierry, I've run into a regression in coccinelle 1.0.6 for the python support: I am getting this error on Fedora 24: Python error: /usr/lib64/python2.7/lib-dynload/_collectionsmodule.so: undefined symbol: PyObject_SetItem On Fedora 23 I get a similar error but for a different symbol. The

Re: [Cocci] Replacing one (specific!) type with another

2016-10-11 Thread Julia Lawall
On Mon, 10 Oct 2016, Nikolaus Rath wrote: > On Oct 10 2016, Julia Lawall wrote: > >> Ok, we're getting there. I've removed the second 'symbol' line, and > >> (permanently) updated to 1.0.6. However, now it seems to simply run > >> forever: > >> > >> $

Re: [Cocci] [PATCH] Coccinelle: flag conditions with no effect

2016-10-11 Thread Michal Marek
On Sat, Oct 08, 2016 at 05:51:45PM +0200, Nicholas Mc Guire wrote: > Report code constructs where the if and else branch are functionally > identical. In cases where this is intended it really should be > documented - most reported cases probably are bugs. > > Signed-off-by: Nicholas Mc Guire