From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) by mx.groups.io with SMTP id smtpd.web11.7018.1575539918169012619 for ; Thu, 05 Dec 2019 01:58:38 -0800 Authentication-Results: mx.groups.io; dkim=missing; spf=pass (domain: intel.com, ip: 192.55.52.136, mailfrom: bob.c.feng@intel.com) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga106.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 05 Dec 2019 01:58:37 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.69,281,1571727600"; d="scan'208";a="243192309" Received: from fmsmsx103.amr.corp.intel.com ([10.18.124.201]) by fmsmga002.fm.intel.com with ESMTP; 05 Dec 2019 01:58:37 -0800 Received: from fmsmsx154.amr.corp.intel.com (10.18.116.70) by FMSMSX103.amr.corp.intel.com (10.18.124.201) with Microsoft SMTP Server (TLS) id 14.3.439.0; Thu, 5 Dec 2019 01:58:37 -0800 Received: from shsmsx103.ccr.corp.intel.com (10.239.4.69) by FMSMSX154.amr.corp.intel.com (10.18.116.70) with Microsoft SMTP Server (TLS) id 14.3.439.0; Thu, 5 Dec 2019 01:58:37 -0800 Received: from shsmsx104.ccr.corp.intel.com ([169.254.5.90]) by SHSMSX103.ccr.corp.intel.com ([169.254.4.29]) with mapi id 14.03.0439.000; Thu, 5 Dec 2019 17:58:35 +0800 From: "Bob Feng" To: Philippe Mathieu-Daude , "devel@edk2.groups.io" CC: Sean Brogan , "Fan, ZhijuX" , Bret Barkelew , "Gao, Liming" , "Kinney, Michael D" Subject: Re: [PATCH 1/2] BaseTools: Avoid "is" with a literal Python 3.8 warnings Thread-Topic: [PATCH 1/2] BaseTools: Avoid "is" with a literal Python 3.8 warnings Thread-Index: AQHVqTaix64SxxOnG02Yy5AMhtT5GqerUjbw Date: Thu, 5 Dec 2019 09:58:34 +0000 Message-ID: <08650203BA1BD64D8AD9B6D5D74A85D16157BEC0@SHSMSX104.ccr.corp.intel.com> References: <20191202173309.10411-1-philmd@redhat.com> <20191202173309.10411-2-philmd@redhat.com> In-Reply-To: <20191202173309.10411-2-philmd@redhat.com> Accept-Language: zh-CN, en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.239.127.40] MIME-Version: 1.0 Return-Path: bob.c.feng@intel.com Content-Language: en-US Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 UmV2aWV3ZWQtYnk6IEJvYiBGZW5nIDxib2IuYy5mZW5nQGludGVsLmNvbT4NCg0KLS0tLS1Pcmln aW5hbCBNZXNzYWdlLS0tLS0NCkZyb206IFBoaWxpcHBlIE1hdGhpZXUtRGF1ZGUgW21haWx0bzpw aGlsbWRAcmVkaGF0LmNvbV0gDQpTZW50OiBUdWVzZGF5LCBEZWNlbWJlciAzLCAyMDE5IDE6MzMg QU0NClRvOiBkZXZlbEBlZGsyLmdyb3Vwcy5pbw0KQ2M6IFNlYW4gQnJvZ2FuIDxzZWFuLmJyb2dh bkBtaWNyb3NvZnQuY29tPjsgRmFuLCBaaGlqdVggPHpoaWp1eC5mYW5AaW50ZWwuY29tPjsgRmVu ZywgQm9iIEMgPGJvYi5jLmZlbmdAaW50ZWwuY29tPjsgQnJldCBCYXJrZWxldyA8QnJldC5CYXJr ZWxld0BtaWNyb3NvZnQuY29tPjsgR2FvLCBMaW1pbmcgPGxpbWluZy5nYW9AaW50ZWwuY29tPjsg S2lubmV5LCBNaWNoYWVsIEQgPG1pY2hhZWwuZC5raW5uZXlAaW50ZWwuY29tPjsgUGhpbGlwcGUg TWF0aGlldS1EYXVkZSA8cGhpbG1kQHJlZGhhdC5jb20+DQpTdWJqZWN0OiBbUEFUQ0ggMS8yXSBC YXNlVG9vbHM6IEF2b2lkICJpcyIgd2l0aCBhIGxpdGVyYWwgUHl0aG9uIDMuOCB3YXJuaW5ncw0K DQpUaGUgZm9sbG93aW5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