summaryrefslogtreecommitdiff
path: root/tests/internal_bench/class_create-4-classmethod.py
diff options
context:
space:
mode:
authorJeff Epler <jepler@gmail.com>2025-07-18 06:06:42 -0500
committerDamien George <damien@micropython.org>2025-07-25 11:01:42 +1000
commitab620f40844a837546497252849933ef2f685f4d (patch)
tree42c0a1335d49c5c9a03415f19f318f9a9a2477f7 /tests/internal_bench/class_create-4-classmethod.py
parent87b7a9d7349c28b3acb13815bb63484d12203895 (diff)
py/mpprint: Fix printing pointers with upper bit set.
On a build like nanbox, `mp_uint_t` is wider than `u/intptr_t`. Using a signed type for fetching pointer values resulted in erroneous results: like `<function f at 0xfffffffff7a60bc0>` instead of `<function f at 0xf7a60bc0>`. Signed-off-by: Jeff Epler <jepler@gmail.com>
Diffstat (limited to 'tests/internal_bench/class_create-4-classmethod.py')
0 files changed, 0 insertions, 0 deletions