From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=134.134.136.65; helo=mga03.intel.com; envelope-from=brian.richardson@intel.com; receiver=edk2-devel@lists.01.org Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id E1FBB2034A7B1 for ; Wed, 1 Nov 2017 18:32:53 -0700 (PDT) Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by orsmga103.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 01 Nov 2017 18:36:46 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.44,331,1505804400"; d="scan'208";a="330848607" Received: from orsmsx102.amr.corp.intel.com ([10.22.225.129]) by fmsmga004.fm.intel.com with ESMTP; 01 Nov 2017 18:36:46 -0700 Received: from orsmsx153.amr.corp.intel.com (10.22.226.247) by ORSMSX102.amr.corp.intel.com (10.22.225.129) with Microsoft SMTP Server (TLS) id 14.3.319.2; Wed, 1 Nov 2017 18:36:45 -0700 Received: from orsmsx114.amr.corp.intel.com ([169.254.8.129]) by ORSMSX153.amr.corp.intel.com ([169.254.12.223]) with mapi id 14.03.0319.002; Wed, 1 Nov 2017 18:36:45 -0700 From: "Richardson, Brian" To: Thiebaud Weksteen , "python-dev@python.org" CC: "edk2-devel@lists.01.org" Thread-Topic: [edk2] Official port of Python on EDK2 Thread-Index: AQHTUvDvHXCh4d/hCU+HepoYLh0mn6MAT0Zw Date: Thu, 2 Nov 2017 01:36:45 +0000 Message-ID: <80AC2BAA3152784F98F581129E5CF5AFA4635665@ORSMSX114.amr.corp.intel.com> References: In-Reply-To: Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ctpclassification: CTP_IC x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiN2Y3ZmQ2YzYtZTVlOS00YzM2LWE5MTQtZDQyZDRkNGUxNDZiIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX0lDIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE2LjUuOS4zIiwiVHJ1c3RlZExhYmVsSGFzaCI6Im5WTW95Y2cxWDdqUE9jV3MzYlV1Qk9UXC91YnMxZUtmU1M0T0w3RlpnNUVrPSJ9 dlp-product: dlpe-windows dlp-version: 11.0.0.116 dlp-reaction: no-action x-originating-ip: [10.22.254.140] MIME-Version: 1.0 Subject: Re: Official port of Python on EDK2 X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Nov 2017 01:32:55 -0000 Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Thiebaud: Thank you. I have started discussions within Intel for updating the UEFI CP= ython implementation to Python 3.x. The TianoCore community would appreciat= e contributions by people with Python experience to bring this code up to c= urrent standards. Please review the contribution guidelines for TianoCore and let me know if = you have any questions. http://www.tianocore.org/contrib/=20 Thanks ... br --- Brian Richardson, Senior Technical Marketing Engineer, Intel Software brian.richardson@intel.com -- @intel_brian (Twitter & WeChat) https://software.intel.com/en-us/meet-the-developers/evangelists/team/brian= -richardson=20 -----Original Message----- From: edk2-devel [mailto:edk2-devel-bounces@lists.01.org] On Behalf Of Thie= baud Weksteen Sent: Wednesday, November 1, 2017 5:07 AM To: python-dev@python.org Cc: edk2-devel@lists.01.org Subject: [edk2] Official port of Python on EDK2 Hi, UEFI has become the standard for firmware (BIOS) interface. Intel has provi= ded an open source implementation under the name EDK2 (part of the TianoCor= e initiative) [1] for some time. This implementation has evolved significan= tly and now provides the functionalities of a small OS with a standard libr= ary similar to POSIX. In 2011, a port of Python 2.7.1 was added to the EDK2 repository [2]. This port then evolved to 2.7.2 which is still defined as the reference por= t [3]. In 2015, another port was added of Python 2.7.10 in parallel of 2.7.= 2 [4]. Since then, both implementations have diverged from upstream and kno= w vulnerabilities have not been fixed. I would like to bring support for edk2 in the official Python repository to= remediate this situation, that is officially support edk2 as a platform. Technically, there would be three main aspects for the = on-boarding work: 1) Fix headers and source to resolve definition conflicts, similarly to ABS= definition in [5]; 2) Add the edk2module.c [6] to handle platform-specific functionalities, si= milarly to the posixmodule.c; 3) Add the build configuration file [7] and necessary modifications within = Python to handle the edk2 toolchain; This work would target the master branch (that is Python 3). I would be int= erested in hearing your thoughts on this idea. Thanks, Thiebaud [1] https://github.com/tianocore/edk2 [2] https://github.com/tianocore/edk2/commit/006fecd5a177b4b7b6b36fab6690bf= 2b2fa11829 [3] https://github.com/tianocore/edk2/blob/master/AppPkg/Applications/Pytho= n/PythonReadMe.txt [4] https://github.com/tianocore/edk2/commit/c8042e10763bca064df257547d04ae= 3dfcdfaf91 [5] https://gist.github.com/tweksteen/ed516ca7ab7dfa8d18428f59d9c22a3e [6] https://github.com/tianocore/edk2/blob/master/AppPkg/Applications/Pytho= n/Efi/edk2module.c [7] https://github.com/tianocore/edk2/blob/master/AppPkg/Applications/Pytho= n/PythonCore.inf _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel