On 12/25/2018 3:50 PM, Gao, Liming wrote:
Hi, all
   On Python3 migration https://bugzilla.tianocore.org/show_bug.cgi?id=55, we 
update Edk2 BaseTools python source code with the compatible syntax to support 
Python2 and Python3 both. Here is code 
https://github.com/lgao4/edk2/tree/Python3 for dry run. To enable Python3, you 
just need to set PYTHON3_ENABLE environment as TRUE, then type 
edksetup.bat/edksetup.sh. Without this setting, BaseTools still run with 
Python2. So, there is no change for current usage model with Python27.

Liming,
I like Python3. But I don't like the idea of enabling Python3 depending on PYTHON3_ENABLE environment variable.
I prefer BaseTools to use Python3 by default when PYTHON3_ENABLE is not set.
When PYTHON3_ENABLE is set, BaseTools can use the desired python version following the environment variable.

Do you agree? Or any objection?



   But, we have no enough resource to fully verify Python2 and Python3 both. We 
will focus on Python3 validation. If anyone can help verify Python2, it will be 
great. And, if you meet with the issue on Python2, please file BZ. We still fix 
them.

Thanks
Liming

_______________________________________________
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel



--
Thanks,
Ray
_______________________________________________
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel

Reply via email to