mirror of
https://git.proxmox.com/git/mirror_edk2
synced 2025-11-26 12:17:58 +00:00
Per PEP237(*), 'long' is unified with 'int' and removed from python3. * To make the script compatible with both python2 and python3, 'type(0L)' is replaced with 'type(sys.maxsize + 1)'. In python2, the number is 'long', while it's 'int' in python3. We can remove the workaround after moving to python3 completely. * long() is replaced with int() since int() returns a long when need. (*) https://www.python.org/dev/peps/pep-0237/ Contributed-under: TianoCore Contribution Agreement 1.1 Cc: Yonghong Zhu <yonghong.zhu@intel.com> Cc: Liming Gao <liming.gao@intel.com> Signed-off-by: Gary Lin <glin@suse.com> Reviewed-by: Yonghong Zhu <yonghong.zhu@intel.com> |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| BuildToolError.py | ||
| BuildVersion.py | ||
| Database.py | ||
| DataType.py | ||
| EdkLogger.py | ||
| Expression.py | ||
| GlobalData.py | ||
| Identification.py | ||
| LongFilePathOs.py | ||
| LongFilePathOsPath.py | ||
| LongFilePathSupport.py | ||
| Misc.py | ||
| MultipleWorkspace.py | ||
| Parsing.py | ||
| PyUtility.pyd | ||
| RangeExpression.py | ||
| StringUtils.py | ||
| TargetTxtClassObject.py | ||
| ToolDefClassObject.py | ||
| VariableAttributes.py | ||
| VpdInfoFile.py | ||