f98bb2ddcb
Arguments of an unknown type cannot be skipped and continuing to parse a format string after encountering an unknown format specifier leads to undefined behaviour. This patch helps to find use of unsupported formats.
38 lines
469 B
Plaintext
38 lines
469 B
Plaintext
# mp_printf
|
|
-123 +123 123
|
|
-0123
|
|
123
|
|
1ABCDEF
|
|
ab abc
|
|
|
|
false true
|
|
(null)
|
|
-2147483648
|
|
2147483648
|
|
80000000
|
|
80000000
|
|
# vstr
|
|
tests
|
|
sts
|
|
|
|
test
|
|
tes
|
|
larg
|
|
# repl
|
|
ame__
|
|
|
|
__name__ path argv version
|
|
version_info implementation platform byteorder
|
|
maxsize exit stdin stdout
|
|
stderr modules exc_info print_exception
|
|
ementation
|
|
# attrtuple
|
|
(start=1, stop=2, step=3)
|
|
# str
|
|
1
|
|
# mpz
|
|
1
|
|
12345678
|
|
0
|
|
0
|