Skip to content

Commit

Permalink
python - add workaround for multiprocessing.Spawn. See #9134
Browse files Browse the repository at this point in the history
  • Loading branch information
cscheid committed Mar 19, 2024
1 parent aeaad41 commit 2710c41
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/resources/jupyter/lang/python/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -266,3 +266,4 @@ def convert(v):
v = dict(contents=list(dict(name=key, value=convert(value)) for (key, value) in kwargs.items()))
display(HTML('<script type="ojs-define">' + json.dumps(v) + '</script>'), metadata=dict(ojs_define = True))
globals()["ojs_define"] = ojs_define
# globals()["__spec__"] = None

1 comment on commit 2710c41

@cscheid
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

... it would appear that I added a comment to the file, instead of a fix 🤦 🤦 🤦

Please sign in to comment.