Commit a0805626 authored by Kevin Modzelewski's avatar Kevin Modzelewski

Fix the repl

parent b5990ffd
...@@ -986,6 +986,8 @@ extern "C" int PyRun_InteractiveOneFlags(FILE* fp, const char* filename, PyCompi ...@@ -986,6 +986,8 @@ extern "C" int PyRun_InteractiveOneFlags(FILE* fp, const char* filename, PyCompi
// Pyston change: // Pyston change:
// d = PyModule_GetDict(m); // d = PyModule_GetDict(m);
// v = run_mod(mod, filename, d, d, flags, arena); // v = run_mod(mod, filename, d, d, flags, arena);
v = None;
Py_INCREF(v);
assert(PyModule_Check(m)); assert(PyModule_Check(m));
bool failed = false; bool failed = false;
try { try {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment