diff options
author | Delio Brignoli <brignoli.delio@gmail.com> | 2016-08-20 10:51:28 +0200 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2016-09-01 18:09:44 +1000 |
commit | f98bb2ddcbfed7033ae93ae8fe98b0540a9fb42f (patch) | |
tree | e0cc5f6fb0d9ff1124ae99b360fde5dd59c660b9 /tests/unix/ffi_float2.py | |
parent | ce1c786297e69df4a82e83ac379f8ef068e709f6 (diff) | |
download | micropython-f98bb2ddcbfed7033ae93ae8fe98b0540a9fb42f.tar.gz micropython-f98bb2ddcbfed7033ae93ae8fe98b0540a9fb42f.zip |
py/mpprint: Fail an assertion with unsupported format specifiers.
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.
Diffstat (limited to 'tests/unix/ffi_float2.py')
0 files changed, 0 insertions, 0 deletions