Skip to content

Running the type() function inside the pyscript raises a JsException #120

@gmjen

Description

@gmjen

eg:

>>> type([1, 2, 3])

JsException(PythonError: Traceback (most recent call last): File "", line 156, in write File "", line 116, in write File "", line 79, in format_mime File "", line 54, in eval_formatter TypeError: descriptor '__repr__' of 'list' object needs an argument )

This appears to occur both when trying running type() from the repl and when used inside a <py-script> tag

<py-script>
type('A')`
</py-script>

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    tag: renderingRelated to rendering of output into the DOMtype: bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions