Re: [Cocci] Checking execution environment for Python code in SmPL scripts
diff --git a/m b/m
index 8ed94d7..12da379 100644
--- a/m
+++ b/m
@@ -2,60 +2,129 @@
 X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on
 	aws-us-west-2-korg-lkml-1.web.codeaurora.org
 X-Spam-Level: 
-X-Spam-Status: No, score=-1.0 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS,
-	MAILING_LIST_MULTI,SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no
-	version=3.4.0
+X-Spam-Status: No, score=-0.6 required=3.0 tests=DKIM_INVALID,DKIM_SIGNED,
+	FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS,
+	MAILING_LIST_MULTI,SPF_PASS autolearn=ham autolearn_force=no version=3.4.0
 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99])
-	by smtp.lore.kernel.org (Postfix) with ESMTP id 18406C282DD
-	for <cocci@archiver.kernel.org>; Sat, 20 Apr 2019 08:06:16 +0000 (UTC)
+	by smtp.lore.kernel.org (Postfix) with ESMTP id F02D0C282DD
+	for <cocci@archiver.kernel.org>; Sat, 20 Apr 2019 08:11:56 +0000 (UTC)
 Received: from isis.lip6.fr (isis.lip6.fr [132.227.60.2])
 	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
 	(No client certificate requested)
-	by mail.kernel.org (Postfix) with ESMTPS id A5ED02087F
-	for <cocci@archiver.kernel.org>; Sat, 20 Apr 2019 08:06:15 +0000 (UTC)
-DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org A5ED02087F
-Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=lip6.fr
+	by mail.kernel.org (Postfix) with ESMTPS id 514422087F
+	for <cocci@archiver.kernel.org>; Sat, 20 Apr 2019 08:11:56 +0000 (UTC)
+Authentication-Results: mail.kernel.org;
+	dkim=fail reason="signature verification failed" (1024-bit key) header.d=web.de header.i=@web.de header.b="Ujz5ojFG"
+DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 514422087F
+Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=web.de
 Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=cocci-bounces@systeme.lip6.fr
 Received: from systeme.lip6.fr (systeme.lip6.fr [132.227.104.7])
-          by isis.lip6.fr (8.15.2/lip6) with ESMTP id x3K862vJ003220
-          ; Sat, 20 Apr 2019 10:06:02 +0200 (CEST)
+          by isis.lip6.fr (8.15.2/lip6) with ESMTP id x3K8BiG1003412
+          ; Sat, 20 Apr 2019 10:11:44 +0200 (CEST)
 Received: from systeme.lip6.fr (systeme.lip6.fr [127.0.0.1])
-	by systeme.lip6.fr (Postfix) with ESMTP id 99D92772E;
-	Sat, 20 Apr 2019 10:06:02 +0200 (CEST)
+	by systeme.lip6.fr (Postfix) with ESMTP id 7C172772E;
+	Sat, 20 Apr 2019 10:11:44 +0200 (CEST)
 Received: from isis.lip6.fr (isis.lip6.fr [132.227.60.2])
  (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
  (No client certificate requested)
- by systeme.lip6.fr (Postfix) with ESMTPS id C79927725
- for <cocci@systeme.lip6.fr>; Sat, 20 Apr 2019 10:06:00 +0200 (CEST)
-Received: from mail2-relais-roc.national.inria.fr
- (mail2-relais-roc.national.inria.fr [192.134.164.83])
- by isis.lip6.fr (8.15.2/lip6) with ESMTP id x3K860gT029876
- for <cocci@systeme.lip6.fr>; Sat, 20 Apr 2019 10:06:00 +0200 (CEST)
+ by systeme.lip6.fr (Postfix) with ESMTPS id 6F9127725
+ for <cocci@systeme.lip6.fr>; Sat, 20 Apr 2019 10:11:43 +0200 (CEST)
+Received: from mout.web.de (mout.web.de [212.227.17.12])
+ by isis.lip6.fr (8.15.2/lip6) with ESMTP id x3K8Bga0003100
+ ; Sat, 20 Apr 2019 10:11:42 +0200 (CEST)
 X-pt: isis.lip6.fr
-X-Addr-Warning: ATTENTION - Votre correspondant a fourni une adresse
- d'enveloppe @lip6.fr, mais ce message ne provient pas
- de lip6.fr ! postmaster@lip6.fr.
-X-IronPort-AV: E=Sophos;i="5.60,373,1549926000"; d="scan'208";a="379445794"
-Received: from abo-75-106-68.mrs.modulonet.fr (HELO hadrien) ([85.68.106.75])
- by mail2-relais-roc.national.inria.fr with
- ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 20 Apr 2019 10:06:00 +0200
-Date: Sat, 20 Apr 2019 10:05:59 +0200 (CEST)
-From: Julia Lawall <julia.lawall@lip6.fr>
-X-X-Sender: jll@hadrien
-To: Markus Elfring <Markus.Elfring@web.de>
-In-Reply-To: <016b7023-d1e5-f964-d491-2619d965c480@web.de>
-Message-ID: <alpine.DEB.2.21.1904201005350.3590@hadrien>
+DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=web.de;
+ s=dbaedf251592; t=1555747902;
+ bh=tpbdNZTUHV/LoxztDIshxMqDQZXicTAJUlKy1lpkE3s=;
+ h=X-UI-Sender-Class:Subject:To:Cc:References:From:Date:In-Reply-To;
+ b=Ujz5ojFGEHA+LN5zdahHkMqq2vy1H+KXjsDHTfD1LcV4k8DXxLIXGesnYYHzxZy0B
+ SgzbinCHqLVzXoR3uRwVd2HyK/hPRytz6OcaoHvb37r9hbgVxTQERXBusy1gK0Vk8I
+ eDMgX4qkrGJmHtQbFErZDUMW4L7QqfyVmB6s+xSc=
+X-UI-Sender-Class: c548c8c5-30a9-4db5-a2e7-cb6cb037b8f9
+Received: from [192.168.1.3] ([78.49.4.177]) by smtp.web.de (mrweb101
+ [213.165.67.124]) with ESMTPSA (Nemesis) id 0M1X0v-1gy2UB1TUP-00tXXM; Sat, 20
+ Apr 2019 10:11:42 +0200
+To: Julia Lawall <julia.lawall@lip6.fr>
 References: <8d40a536-c2fe-7d6b-58d5-840e013665f1@web.de>
  <11a0c402-265c-4bc1-9cdd-244735dbc3e1@web.de>
  <8c9c537c-60b7-a9da-9787-bf28a83b72e8@web.de>
  <alpine.DEB.2.21.1904200934180.3590@hadrien>
  <016b7023-d1e5-f964-d491-2619d965c480@web.de>
-User-Agent: Alpine 2.21 (DEB 202 2017-01-01)
+ <alpine.DEB.2.21.1904201005350.3590@hadrien>
+From: Markus Elfring <Markus.Elfring@web.de>
+Openpgp: preference=signencrypt
+Autocrypt: addr=Markus.Elfring@web.de; prefer-encrypt=mutual; keydata=
+ mQINBFg2+xABEADBJW2hoUoFXVFWTeKbqqif8VjszdMkriilx90WB5c0ddWQX14h6w5bT/A8
+ +v43YoGpDNyhgA0w9CEhuwfZrE91GocMtjLO67TAc2i2nxMc/FJRDI0OemO4VJ9RwID6ltwt
+ mpVJgXGKkNJ1ey+QOXouzlErVvE2fRh+KXXN1Q7fSmTJlAW9XJYHS3BDHb0uRpymRSX3O+E2
+ lA87C7R8qAigPDZi6Z7UmwIA83ZMKXQ5stA0lhPyYgQcM7fh7V4ZYhnR0I5/qkUoxKpqaYLp
+ YHBczVP+Zx/zHOM0KQphOMbU7X3c1pmMruoe6ti9uZzqZSLsF+NKXFEPBS665tQr66HJvZvY
+ GMDlntZFAZ6xQvCC1r3MGoxEC1tuEa24vPCC9RZ9wk2sY5Csbva0WwYv3WKRZZBv8eIhGMxs
+ rcpeGShRFyZ/0BYO53wZAPV1pEhGLLxd8eLN/nEWjJE0ejakPC1H/mt5F+yQBJAzz9JzbToU
+ 5jKLu0SugNI18MspJut8AiA1M44CIWrNHXvWsQ+nnBKHDHHYZu7MoXlOmB32ndsfPthR3GSv
+ jN7YD4Ad724H8fhRijmC1+RpuSce7w2JLj5cYj4MlccmNb8YUxsE8brY2WkXQYS8Ivse39MX
+ BE66MQN0r5DQ6oqgoJ4gHIVBUv/ZwgcmUNS5gQkNCFA0dWXznQARAQABtCZNYXJrdXMgRWxm
+ cmluZyA8TWFya3VzLkVsZnJpbmdAd2ViLmRlPokCVAQTAQgAPhYhBHDP0hzibeXjwQ/ITuU9
+ Figxg9azBQJY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xxJhbzN+r9djSGGN/5IBDfUqSANC8cWzHpWaHmSuU3JSAMB/N+yQjIad2ztTckZY
+ pwT6oxng29LzZspTYUEzMz3wK2jQHw+U66qBFk8whA7B2uAU1QdGyPgahLYSOa4XAEGb6wbI FEE=
+Message-ID: <cedcfdae-7d2a-0dc1-7764-f42e9cfa6439@web.de>
+Date: Sat, 20 Apr 2019 10:11:41 +0200
+User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101
+ Thunderbird/60.6.1
 MIME-Version: 1.0
-X-Greylist: Sender IP whitelisted, Sender e-mail whitelisted, not delayed by milter-greylist-4.4.3 (isis.lip6.fr [132.227.60.2]); Sat, 20 Apr 2019 10:06:03 +0200 (CEST)
-X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by
- milter-greylist-4.4.3 (isis.lip6.fr [132.227.60.2]);
- Sat, 20 Apr 2019 10:06:00 +0200 (CEST)
+In-Reply-To: <alpine.DEB.2.21.1904201005350.3590@hadrien>
+Content-Language: en-GB
+X-Provags-ID: V03:K1:bm2HzbGrpeF6qSBqDGnzbS/cJJS02EQ+ax4js/0mCwu090hxy4j
+ pq2CV5hV4A5csO07yBBq1ze4KCu81Ke6OfVOgYJgnhQze08BFFgrkEDYimWS0Uf7Q5memrw
+ gT2qdzAf0DpsDCGF3Kp+XLaX1FY4k10niaOq1aGsEu4FISIxH0K3sxa71xpd5TvBw07qJNJ
+ NHVD9sHrxPrtA+VbYUn7g==
+X-UI-Out-Filterresults: notjunk:1;V03:K0:+rOLwDlAoaY=:febI8ErTyc5TIwoVvI5KQc
+ UoaF8Gzse3S8vhxYCHll7kK6xp/DHso8tXkPlJDNDTWmtTQa+YS8K3V01QoY3k0iJT6fNVQE2
+ 3lA2C+Qox3oWw46lk8HAmuoaH7NeSHi5pdGw+oAES5U1aHY5MZvAJWOVUn1O3UOJl0vAVqDNb
+ /QeVlst4Eib3N85M4RMDdik8HcysmIC2mc7/qyJR+k8pjfTyFjgPJXBKry2WdZ0PGX0vLcUPt
+ 3Z97QfmXzmgCA5OdNFWMjY7YqKOClhw19tTyrOP/+g3jO9lbxOp63p35YNzqUv6NMbi/TOB7v
+ XGr4p12DXrDPIZ1UthdZ1G4kq9zDdok/lP49ReZJp2+VB2JG/AxKJ91XPaDKcswthtx81BzSN
+ da88p4/nG1XF2RXNlK0aM82JiutU5Qk5Vas2PvHmj5HzUVvauAsEf94MeifCEY5wXJ0wdP479
+ 2erG6AlFc27KGNgbqDpADltyoozh/oKNrQfHa/NZo95FxQ+oAXSVyWOE0WHITXtqy4hU/tsrS
+ BwwdhmJTRPtRwJ0Wb64zeHFr2xOmNCut6qhWtlL9gfjviuNvpIn8dwn0EKuGTi1AYcvWWjuh2
+ yKFN786c/wH3zZl6QWBOJGpOhdXbJqEfYByh/PqU8MmlqEtR/gTNIRjgDPG8z57tY6MIq02bV
+ L4TRPbETs1NyHDqFCTaMTl95nsXoCgEDOhApBYgCK34YULMpBxOQlYN8GfvkBVgA0rrRktWBo
+ c0mKDa4HAUYBlAI1g667n470RyTOWYMtfyOwzDakFV0yDQdP8VlWFa2W0GWGkGtL0in2r+EUA
+ nIK+AYqaBtY9t29jdvYu1RiMRyd46XCQ8FjmZMa1WyjP70tVMZwe30IMchpcskwlbtxYvE24v
+ HfmszHfwm3Oo8ndVgRp1Z1tH5Wv3LVmji4XvPSyBr8TpR6ALn6Ey345l8vFbxIC0IqKGF/Go3
+ VQI+vk28HPg==
+X-Greylist: Sender IP whitelisted, Sender e-mail whitelisted, not delayed by milter-greylist-4.4.3 (isis.lip6.fr [132.227.60.2]); Sat, 20 Apr 2019 10:11:45 +0200 (CEST)
+X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.4.3
+ (isis.lip6.fr [132.227.60.2]); Sat, 20 Apr 2019 10:11:42 +0200 (CEST)
 X-Scanned-By: MIMEDefang 2.78 on 132.227.60.2
 X-Scanned-By: MIMEDefang 2.78 on 132.227.60.2
 Cc: Coccinelle <cocci@systeme.lip6.fr>
@@ -77,30 +146,15 @@
 Sender: cocci-bounces@systeme.lip6.fr
 Errors-To: cocci-bounces@systeme.lip6.fr
 
-
-
-On Sat, 20 Apr 2019, Markus Elfring wrote:
-
-> >>  @initialize:python@
-> >> +URL << virtual.database_URL;
-> >
-> > On the command line, your -D argument is URL, but here the variable is
-> > called database_URL.
+>> I would appreciate a more appropriate error message for such use cases.
 >
-> I am sorry that I have overlooked the identifier mismatch here.
->
->
-> > If you don't provide the variables needed by the initialize rule,
-> > the initialize rule doesn't run.
->
-> Thanks for your explanation.
->
-> I would appreciate a more appropriate error message for such use cases.
+> Coccinelle doesn't know what you intend.  Executing the initialize rule is
+> not obligatory.
 
-Coccinelle doesn't know what you intend.  Executing the initialize rule is
-not obligatory.
+Can execution of the specified initialisation code become mandatory?
 
-julia
+Regards,
+Markus
 _______________________________________________
 Cocci mailing list
 Cocci@systeme.lip6.fr