-
Notifications
You must be signed in to change notification settings - Fork 67
Closed as not planned
Labels
tag: needs reproIssues that need user-provided steps to reproduceIssues that need user-provided steps to reproducetype: bugConcrete, reproducible bugsConcrete, reproducible bugs
Description
Is your feature request related to a problem? Please describe.
At the moment, you can't define a csp node interactively in ipython (need to be part of an importable script)
Defining the following in IPython (inside of PyCharm)
@csp.node
def f(x: csp.ts[int]) -> csp.ts[int]:
return x
Throws
OSError: could not get source code
Describe the solution you'd like
Ideally we should be able to define them in ipython, but at the very least, the error message should be a bit more helpful (i.e. explaining that defining nodes interactively is not supported yet)
Metadata
Metadata
Assignees
Labels
tag: needs reproIssues that need user-provided steps to reproduceIssues that need user-provided steps to reproducetype: bugConcrete, reproducible bugsConcrete, reproducible bugs