Commit 1ac2322a authored by Kevin Modzelewski's avatar Kevin Modzelewski

Minor improvements

parent 6ca5522e
...@@ -470,7 +470,8 @@ quick_check: ...@@ -470,7 +470,8 @@ quick_check:
Makefile.local: Makefile.local:
echo "Creating default Makefile.local" echo "Creating default Makefile.local"
which ninja-build >/dev/null && echo "NINJA := ninja-build" >> Makefile.local (which ninja-build >/dev/null && echo "NINJA := ninja-build" >> Makefile.local); true
touch Makefile.local
llvm_up: llvm_up:
$(CPYTHON) $(TOOLS_DIR)/git_svn_gotorev.py $(LLVM_SRC) $(LLVM_REVISION) ./llvm_patches $(CPYTHON) $(TOOLS_DIR)/git_svn_gotorev.py $(LLVM_SRC) $(LLVM_REVISION) ./llvm_patches
......
...@@ -93,6 +93,8 @@ def setprofile(func): ...@@ -93,6 +93,8 @@ def setprofile(func):
run() method is called. run() method is called.
""" """
# This would otherwise fail at thread-creation time:
assert 0, "threading.setprofile not supported in Pyston yet"
global _profile_hook global _profile_hook
_profile_hook = func _profile_hook = func
...@@ -103,6 +105,8 @@ def settrace(func): ...@@ -103,6 +105,8 @@ def settrace(func):
method is called. method is called.
""" """
# This would otherwise fail at thread-creation time:
assert 0, "threading.settrace not supported in Pyston yet"
global _trace_hook global _trace_hook
_trace_hook = func _trace_hook = func
......
...@@ -272,7 +272,8 @@ extern "C" BORROWED(PyObject*) PyList_GetItem(PyObject* op, Py_ssize_t i) noexce ...@@ -272,7 +272,8 @@ extern "C" BORROWED(PyObject*) PyList_GetItem(PyObject* op, Py_ssize_t i) noexce
try { try {
return listGetitemUnboxed(static_cast<BoxedList*>(op), i); return listGetitemUnboxed(static_cast<BoxedList*>(op), i);
} catch (ExcInfo e) { } catch (ExcInfo e) {
abort(); setCAPIException(e);
return NULL;
} }
} }
......
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