Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Python snippets should have source available #4208

Open
hellerve opened this issue Nov 28, 2024 · 0 comments
Open

Python snippets should have source available #4208

hellerve opened this issue Nov 28, 2024 · 0 comments
Labels

Comments

@hellerve
Copy link
Member

Currently, due to the limitation in Python that only code in files can have its source inspected, we cannot inspect code that is defined in snippets. This is seen in debuggers, but also in views defined in a snippet.

Bildschirmaufnahme.2024-11-28.um.11.31.47.mov

We should rectify this. One way to deal with it would be to take a route similar to Pharo DoIts. Much like they are stored in a temporary selector, we can put the code in temporary files and feed those into the bridge instead. This can be done on the Python server or the client side, with varying tradeoffs.

Cheers

@hellerve hellerve added the bug label Nov 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant