diff options
author | Jeff Epler <jepler@gmail.com> | 2025-06-21 09:35:39 +0200 |
---|---|---|
committer | Damien George <damien@micropython.org> | 2025-07-06 00:06:34 +1000 |
commit | db0a836fc1c4cb20fc84edca19b57534d7365287 (patch) | |
tree | 2eb816090e3b2dc2c38fad5ad3907d89ef277ec8 /tests/float/string_format2.py | |
parent | f33f1aa9d36c4dd2de4e1209ed7a94f14505d981 (diff) | |
download | micropython-db0a836fc1c4cb20fc84edca19b57534d7365287.tar.gz micropython-db0a836fc1c4cb20fc84edca19b57534d7365287.zip |
py/profile: Fix printing lineno in frame objects.
The argument corresponding to a `%q` specifier must be of type `qstr`, not
a narrower type like `int16_t`. Not ensuring this caused an assertion
error on one Windows x64 build.
The argument corresponding to a `%d` specifier must be of type `int`, not a
potentially-wider type like `mp_uint_t`. Not ensuring this prevented the
function name from being printed on the unix nanbox build.
Signed-off-by: Jeff Epler <jepler@gmail.com>
Diffstat (limited to 'tests/float/string_format2.py')
0 files changed, 0 insertions, 0 deletions