From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from [87.239.111.99] (localhost [127.0.0.1]) by dev.tarantool.org (Postfix) with ESMTP id 242545802DF; Mon, 7 Aug 2023 16:45:54 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 dev.tarantool.org 242545802DF DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=tarantool.org; s=dev; t=1691415954; bh=7UQxkvmnFMuzjoaZB/SqyvQvf1XkR939n/fN0AKxst4=; h=Date:To:References:In-Reply-To:Subject:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc: From; b=ezbGYapvDjyxME4iP12CowzLLcfEeuU6qcOuVXgWp8c7oqiCRm6LlchkQuRIUk0dX KNG05g+5QSqM9n1jlgDzRe0xNY4Ge4Ou4CWMgP5wNa00+GEdBh/OQa2F7kI6rpxdw7 YqqHBDsXwTp/KFm+jBpQwme6xe/jk7nkXctl/Utg= Received: from smtpng2.i.mail.ru (smtpng2.i.mail.ru [94.100.179.3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dev.tarantool.org (Postfix) with ESMTPS id 78C565802D5 for ; Mon, 7 Aug 2023 16:45:53 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 dev.tarantool.org 78C565802D5 Received: by smtpng2.m.smailru.net with esmtpa (envelope-from ) id 1qT0YS-0004lo-No; Mon, 07 Aug 2023 16:45:53 +0300 Message-ID: <12a89425-efee-8511-c570-7b2ed37b1d17@tarantool.org> Date: Mon, 7 Aug 2023 16:45:52 +0300 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.13.0 Content-Language: en-US To: Igor Munkin References: <7ee3c59c-905e-d29b-b6e4-b6ef682afbb0@tarantool.org> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Mailru-Src: smtp X-4EC0790: 10 X-7564579A: 646B95376F6C166E X-77F55803: 4F1203BC0FB41BD969E04B5EED670DC8E1D56388F8ECDB9EA9DEC181E9DCB203182A05F538085040D67DD418CCDBD9DD832768C4CA92D5C98DC5F6394D625B126F02714BB9E9712A X-7FA49CB5: FF5795518A3D127A4AD6D5ED66289B5278DA827A17800CE7F6EE1C40B2E8BE15EA1F7E6F0F101C67BD4B6F7A4D31EC0BCC500DACC3FED6E28638F802B75D45FF8AA50765F7900637D7F1BE85E7B0CA818638F802B75D45FF36EB9D2243A4F8B5A6FCA7DBDB1FC311F39EFFDF887939037866D6147AF826D8E0A00121B808AA64CEE12D640DAC332A117882F4460429724CE54428C33FAD305F5C1EE8F4F765FCF80095D1E57F4578A471835C12D1D9774AD6D5ED66289B52BA9C0B312567BB23117882F4460429728776938767073520437C869540D2AB0FCB629EEF1311BF91D2E47CDBA5A96583BA9C0B312567BB231DD303D21008E29813377AFFFEAFD269A417C69337E82CC2E827F84554CEF50127C277FBC8AE2E8B2EE5AD8F952D28FBAAAE862A0553A39223F8577A6DFFEA7CA35FE21102777C0943847C11F186F3C59DAA53EE0834AAEE X-C1DE0DAB: 0D63561A33F958A560B293838A90E35F300C81A24B908C58A4B645986E4B20B9F87CCE6106E1FC07E67D4AC08A07B9B02A336C6518635091CB5012B2E24CD356 X-C8649E89: 1C3962B70DF3F0ADBF74143AD284FC7177DD89D51EBB7742424CF958EAFF5D571004E42C50DC4CA955A7F0CF078B5EC49A30900B95165D348BF433665406F39076A77DAA8CB65343D86AF981CA28DA9476594C6B3DAA60569840E00B0706DA3E1D7E09C32AA3244C8D790566A9AF7A10E0EFA4DC149CFA8DC3B3ADDA61883BB585A42E4C463514DC5DA084F8E80FEBD3FFA33E6B6B2F82C47A83BD0C44CE203720ABEDE4BBDD9CDD X-D57D3AED: 3ZO7eAau8CL7WIMRKs4sN3D3tLDjz0dLbV79QFUyzQ2Ujvy7cMT6pYYqY16iZVKkSc3dCLJ7zSJH7+u4VD18S7Vl4ZUrpaVfd2+vE6kuoey4m4VkSEu530nj6fImhcD4MUrOEAnl0W826KZ9Q+tr5ycPtXkTV4k65bRjmOUUP8cvGozZ33TWg5HZplvhhXbhDGzqmQDTd6OAevLeAnq3Ra9uf7zvY2zzsIhlcp/Y7m53TZgf2aB4JOg4gkr2bioj/xSHLV4ZQPv2t8gDE02Kmg== X-DA7885C5: 9E46622A721321F46C2D411B363709EB6456A0ED8D9A58DDE314E688336B55E8262E2D401490A4A0DB037EFA58388B346E8BC1A9835FDE71 X-Mailru-Sender: 689FA8AB762F73930F533AC2B33E986B4A9F17AC359DCCB75DF24CE14FD94079DD788429FD8613638ED9BB8B05EE7B3AFB559BB5D741EB96D19CD4E7312BAA970A04DAD6CC59E3365FEEDEB644C299C0ED14614B50AE0675 X-Mras: Ok Subject: Re: [Tarantool-patches] [PATCH luajit 14/15] test: fix E741 errors by pycodestyle X-BeenThere: tarantool-patches@dev.tarantool.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Tarantool development patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Sergey Bronnikov via Tarantool-patches Reply-To: Sergey Bronnikov Cc: tarantool-patches@dev.tarantool.org Errors-To: tarantool-patches-bounces@dev.tarantool.org Sender: "Tarantool-patches" Igor, On 8/7/23 14:00, Igor Munkin wrote: >>> diff --git a/src/luajit-gdb.py b/src/luajit-gdb.py >>> index a0c8f24e..2e0b145b 100644 >>> --- a/src/luajit-gdb.py >>> +++ b/src/luajit-gdb.py >>> @@ -233,15 +233,15 @@ def L(L=None): >>> # lookup a symbol for the main coroutine considering the host app >>> # XXX Fragile: though the loop initialization looks like a crap but it >>> # respects both Python 2 and Python 3. >>> - for l in [L] + list(map(lambda l: lookup(l), ( >>> + for coroutine in [L] + list(map(lambda main: lookup(main), ( >> it is not obvious why variable "l" was replaced by "coroutine". >> >> Could you elaborate? The same below > It's quite clear (at least for me): lua_State represents Lua coroutine > within low level space. However, I've already fixed it to "lstate" as > Max suggested (you can find the incremental diff in my reply). > > Thanks for explanation! LGTM now