From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dan.rpsys.net (5751f4a1.skybroadband.com [87.81.244.161]) by mail.openembedded.org (Postfix) with ESMTP id 246486FFDA for ; Thu, 4 Feb 2016 08:21:38 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by dan.rpsys.net (8.14.4/8.14.4/Debian-4.1ubuntu1) with ESMTP id u148Lauf003164; Thu, 4 Feb 2016 08:21:36 GMT Received: from dan.rpsys.net ([127.0.0.1]) by localhost (dan.rpsys.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id pSd7KZ1gvIxe; Thu, 4 Feb 2016 08:21:36 +0000 (GMT) Received: from hex ([192.168.3.34]) (authenticated bits=0) by dan.rpsys.net (8.14.4/8.14.4/Debian-4.1ubuntu1) with ESMTP id u148LU5L003161 (version=TLSv1/SSLv3 cipher=AES128-GCM-SHA256 bits=128 verify=NOT); Thu, 4 Feb 2016 08:21:32 GMT Message-ID: <1454574090.27087.232.camel@linuxfoundation.org> From: Richard Purdie To: Markus Lehtonen , bitbake-devel@lists.openembedded.org Date: Thu, 04 Feb 2016 08:21:30 +0000 In-Reply-To: References: <1454495619-15453-1-git-send-email-markus.lehtonen@linux.intel.com> <1454495619-15453-3-git-send-email-markus.lehtonen@linux.intel.com> <1454518366.27087.204.camel@linuxfoundation.org> X-Mailer: Evolution 3.16.5-1ubuntu3.1 Mime-Version: 1.0 Subject: Re: [PATCH 2/2] data_smart: handle '\x7d' in python parsing X-BeenThere: bitbake-devel@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Patches and discussion that advance bitbake development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Feb 2016 08:21:41 -0000 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit On Thu, 2016-02-04 at 08:39 +0200, Markus Lehtonen wrote: > On 03/02/16 18:52, "Richard Purdie" < > richard.purdie@linuxfoundation.org> wrote: > > > On Wed, 2016-02-03 at 12:33 +0200, Markus Lehtonen wrote: > > > At least ncurses recipe uses a workaround (for former bitbake > > > python > > > parser) where closing curly bracket inside a python string was > > > replaced > > > by '\x7d' ascii code. The previous "curly bracket matching" patch > > > broke > > > parsing of constructs like this as bitbake wouldn't correctly > > > find > > > the > > > closing bracket. This patch fixes this by accepting '\x7d' as a > > > closing > > > bracket. > > > > > > Hopefully, this patch could be reverted (and the python regexp > > > thus > > > simplified) in the future after making sure that no recipes use > > > the > > > '\x7d' workaround, anymore. > > > > > > [YOCTO #8849] > > > > > > Signed-off-by: Markus Lehtonen > > > --- > > > lib/bb/data_smart.py | 2 +- > > > 1 file changed, 1 insertion(+), 1 deletion(-) > > > > To be honest, the number of recipes which do this is hopefully very > > very small and we should just go and fix them now? > > I was pondering this, too, but tried to make sure not to break > anything. I can e.g. grep through the layers in git.openembedded.org > and git.yoctoproject.org and see if there are any other recipes like > this and submit patches to change those. I think that might be the better option, thanks! Richard