Re: [v3] coccinelle: misc: add array_size_dup script to detect missed overflow checks

From: Markus Elfring
Date: Mon Jun 22 2020 - 07:18:04 EST


> > +coccilib.report.print_report(p1[0],
> > +f"WARNING: array_size is used down the code (line {p2[0].line}) to compute the same size")
>
> I get python failures for all of these messages.

This is interesting, isn't it?


> I know nothing about python.

You probably know more also about this programming language
than you express here.


> How is this supposed to work?

I suggest to take another look at information from the section
â2.4.3. Formatted string literalsâ.
https://docs.python.org/3/reference/lexical_analysis.html#f-strings

This software documentation provides the information âNew in version 3.6â.
Will such a detail trigger any more software development consequences?

Regards,
Markus