Skip to content

code 0x1bff006, byte code 0x97 not implemented #398

@dhylands

Description

@dhylands

When I try to run the following

def test(fmt, *args):
    print(fmt.format(*args))
test('{}', 1)

I get:

2121 >./micropython x.py
code 0x1bff006, byte code 0x97 not implemented
micropython: ../py/vm.c:636: mp_execute_byte_code_2: Assertion `0' failed.
Aborted

This appears to be from the fmt.format

I was trying to write some tests for str.format and be able to wrap an exception handler around the tests so that I could report the exception thrown from malformed format strings.

I'll switch back to the original style for the time being.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      pFad - Phonifier reborn

      Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

      Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy