Messages in this thread | | | Subject | Re: [v3] coccinelle: misc: add array_size_dup script to detect missed overflow checks | From | Markus Elfring <> | Date | Mon, 22 Jun 2020 13:17:43 +0200 |
| |
> > +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
| |