Fix FORMAT_VALUE for values that have both a conversion and a format_spec.

Also output the conversion and flags in disassembly.
This commit is contained in:
Michael Hansen
2024-08-01 13:27:43 -07:00
parent 6ad3ceb67e
commit 0b45b5fa07
7 changed files with 38 additions and 34 deletions

View File

@@ -689,7 +689,9 @@ public:
STR = 1,
REPR = 2,
ASCII = 3,
FMTSPEC = 4
CONVERSION_MASK = 0x03,
HAVE_FMT_SPEC = 4,
};
ASTFormattedValue(PycRef<ASTNode> val, ConversionFlag conversion,