Skip to content

Allow monkey patching on builtin types #10

@cgccuser

Description

@cgccuser

Currently, if you try something like str.foo = 3, you get this:

Traceback (most recent call last):
  File ".code.tio", line 1, in <module>
    str.foo = 3
TypeError: can't set attributes of built-in/extension type 'str'

This "feature" may or may not be extremely hard to implement.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions