Skip to content

We should think of other ways to execute the python expression (other than exec) #1

@Agent-Hellboy

Description

@Agent-Hellboy

@python exec import enum

class Test(enum.Enum):
lower = 1
upper = 2
print(Test.lower == Test.lower)

The response given by the bot does not convey enough info about the code

{'enum': <module 'enum' from '/app/.heroku/python/lib/python3.10/enum.py'>, 'Test': <enum 'Test'>}

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions