diff options
| author | Poncho Figueroa Esqueda <poncho.figueroa.esqueda@intel.com> | 2026-10-29 22:52:30 +0300 |
|---|---|---|
| committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2026-11-04 02:10:33 +0300 |
| commit | 756d4a324d8fb1f500c02668905b466a51656c00 (patch) | |
| tree | 9871d14e446ddfeeb5f06e9dc272e24acea39cc0 /BaseTools/BinWrappers/PosixLike/Rsa2048Sha256GenerateKeys | |
| parent | d05ad866fc7082e689bead58c7b45378f13ac9f7 (diff) | |
| download | edk2-master.tar.xz | |
Python 3.14 no longer dispatches ast.Constant nodes to the deprecated
visit_Num() and visit_NameConstant() methods. Replace them with
visit_Constant(). Use Constant.value instead of the removed Constant.s
alias when extracting offset() and length() variable names.
visit_Constant() accepts int, float, complex, and None. Since bool is a
subclass of int, True and False are also accepted by the isinstance()
check. Other constant values, including strings, bytes, and Ellipsis,
continue to be rejected through generic_visit().
Fixes: https://github.com/tianocore/edk2/issues/13413
Signed-off-by: Poncho Figueroa Esqueda <poncho.figueroa.esqueda@intel.com>
Diffstat (limited to 'BaseTools/BinWrappers/PosixLike/Rsa2048Sha256GenerateKeys')
0 files changed, 0 insertions, 0 deletions
