Conversation
|
Can you resolve conflicts again? |
|
From the user's point of view, what is the difference between |
|
I think this is an easier to understand bootstrapping process than what we had before because this way we don't import I think we should split |
|
But why can't we just rename raw_globals to globals and let users use that?
|
|
Great question. There are two reasons: builtins lookup, and the possibility of providing a special wrapper around I think we should probably just delete the However, I think it is a good thing that e.g., |
…rather than `__main__.__dict__` as the dict for `runPythonSimple`
Now that #1167 is merged, it's possible to produce the
globalsobject from Python. I've been thinking about deletingrunpython.cfor a while now, and I think this is the right time. I made a new functionrunPythonSimplewhich basically just calls_PyRun_SimpleString. Then the setup code inrunpython.ccan be done much simpler in python usingrunPythonSimple.I think it also makes it easier to understand the C code now that the
pyodidemodule isn't imported untilmain()is finished.