From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by mx.groups.io with SMTP id smtpd.web09.7113.1575540600666131458 for ; Thu, 05 Dec 2019 02:10:00 -0800 Authentication-Results: mx.groups.io; dkim=missing; spf=pass (domain: intel.com, ip: 192.55.52.115, mailfrom: bob.c.feng@intel.com) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga002.jf.intel.com ([10.7.209.21]) by fmsmga103.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 05 Dec 2019 02:10:00 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.69,281,1571727600"; d="scan'208";a="223590492" Received: from fmsmsx105.amr.corp.intel.com ([10.18.124.203]) by orsmga002.jf.intel.com with ESMTP; 05 Dec 2019 02:10:00 -0800 Received: from fmsmsx111.amr.corp.intel.com (10.18.116.5) by FMSMSX105.amr.corp.intel.com (10.18.124.203) with Microsoft SMTP Server (TLS) id 14.3.439.0; Thu, 5 Dec 2019 02:09:59 -0800 Received: from shsmsx154.ccr.corp.intel.com (10.239.6.54) by fmsmsx111.amr.corp.intel.com (10.18.116.5) with Microsoft SMTP Server (TLS) id 14.3.439.0; Thu, 5 Dec 2019 02:09:59 -0800 Received: from shsmsx104.ccr.corp.intel.com ([169.254.5.90]) by SHSMSX154.ccr.corp.intel.com ([169.254.7.71]) with mapi id 14.03.0439.000; Thu, 5 Dec 2019 18:09:57 +0800 From: "Bob Feng" To: "devel@edk2.groups.io" , "Feng, Bob C" , Philippe Mathieu-Daude CC: Sean Brogan , "Fan, ZhijuX" , Bret Barkelew , "Gao, Liming" , "Kinney, Michael D" Subject: Re: [edk2-devel] [PATCH 1/2] BaseTools: Avoid "is" with a literal Python 3.8 warnings Thread-Topic: [edk2-devel] [PATCH 1/2] BaseTools: Avoid "is" with a literal Python 3.8 warnings Thread-Index: AQHVqTaix64SxxOnG02Yy5AMhtT5GqerUjbwgAADHsA= Date: Thu, 5 Dec 2019 10:09:57 +0000 Message-ID: <08650203BA1BD64D8AD9B6D5D74A85D16157BF33@SHSMSX104.ccr.corp.intel.com> References: <20191202173309.10411-1-philmd@redhat.com> <20191202173309.10411-2-philmd@redhat.com> <15DD7135640BB2F8.32327@groups.io> In-Reply-To: <15DD7135640BB2F8.32327@groups.io> 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 SGkgUGhpbGlwcGUsDQoNClBsZWFzZSBhZGQgQlogbGluayB0byB0aGUgY29tbWl0IG1lc3NhZ2Ug YW5kIGZpeCB0aGUgZm9sbG93aW5nIGlzc3VlIHdoaWNoIGlzIHJlcG9ydGVkIGZyb20gUGF0Y2hD aGVjay5weQ0KDQpUaGUgY29tbWl0IG1lc3NhZ2UgZm9ybWF0IGlzIG5vdCB2YWxpZDoNCiAqIExp bmUgNSBvZiBjb21taXQgbWVzc2FnZSBpcyB0b28gbG9uZy4NCiAqIExpbmUgNiBvZiBjb21taXQg bWVzc2FnZSBpcyB0b28gbG9uZy4NCmh0dHBzOi8vZ2l0aHViLmNvbS90aWFub2NvcmUvdGlhbm9j b3JlLmdpdGh1Yi5pby93aWtpL0NvbW1pdC1NZXNzYWdlLUZvcm1hdA0KVGhlIGNvZGUgcGFzc2Vk IGFsbCBjaGVja3MuDQoNCkFmdGVyIGZpeGVkLCBSZXZpZXdlZC1ieTogQm9iIEZlbmcgPGJvYi5j LmZlbmdAaW50ZWwuY29tPg0KDQpUaGFua3MsDQpCb2INCg0KLS0tLS1PcmlnaW5hbCBNZXNzYWdl LS0tLS0NCkZyb206IGRldmVsQGVkazIuZ3JvdXBzLmlvIFttYWlsdG86ZGV2ZWxAZWRrMi5ncm91 cHMuaW9dIE9uIEJlaGFsZiBPZiBCb2IgRmVuZw0KU2VudDogV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