feat: add python REPL [AI-written] - #96
Open
VsevolodX wants to merge 14 commits into
Open
Conversation
This was referenced Aug 6, 2026
# Conflicts: # dist/other/codemirror/CodeMirror.js # dist/other/codemirror/index.d.ts # dist/other/codemirror/index.js # dist/other/iframe-messaging/IframeToFromHostMessageHandler.d.ts # dist/other/iframe-messaging/IframeToFromHostMessageHandler.js # dist/theme/theme.d.ts # dist/theme/theme.js
…release] PyodideSession had three protected hooks a consumer subclassed, which made its protected surface an undeclared cross-package API — materials-designer reached into it in 17 places. Take setupNamespace/beforeRun/afterRun as optional spec callbacks instead, so wiring reads in one expression at the call site and this class exposes nothing protected. stageWheels becomes public for callers with their own installer; setWheelFilenames replaces mutating spec from a subclass. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
| * | ||
| * Browser-side there can be only one live instance — see {@link sessionOwningTheInterpreter}. | ||
| */ | ||
| export class PyodideSession implements PythonSessionInterface { |
Member
There was a problem hiding this comment.
Should be in a separate repo to be served from pyodide.mat3ra.com (mat3ra.github.io/pyodide)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.