Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
P
Pyston
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Boxiang Sun
Pyston
Commits
1ac2322a
Commit
1ac2322a
authored
Sep 06, 2016
by
Kevin Modzelewski
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Minor improvements
parent
6ca5522e
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
2 deletions
+8
-2
Makefile
Makefile
+2
-1
from_cpython/Lib/threading.py
from_cpython/Lib/threading.py
+4
-0
src/runtime/list.cpp
src/runtime/list.cpp
+2
-1
No files found.
Makefile
View file @
1ac2322a
...
...
@@ -470,7 +470,8 @@ quick_check:
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
:
$(CPYTHON)
$(TOOLS_DIR)
/git_svn_gotorev.py
$(LLVM_SRC)
$(LLVM_REVISION)
./llvm_patches
...
...
from_cpython/Lib/threading.py
View file @
1ac2322a
...
...
@@ -93,6 +93,8 @@ def setprofile(func):
run() method is called.
"""
# This would otherwise fail at thread-creation time:
assert
0
,
"threading.setprofile not supported in Pyston yet"
global
_profile_hook
_profile_hook
=
func
...
...
@@ -103,6 +105,8 @@ def settrace(func):
method is called.
"""
# This would otherwise fail at thread-creation time:
assert
0
,
"threading.settrace not supported in Pyston yet"
global
_trace_hook
_trace_hook
=
func
...
...
src/runtime/list.cpp
View file @
1ac2322a
...
...
@@ -272,7 +272,8 @@ extern "C" BORROWED(PyObject*) PyList_GetItem(PyObject* op, Py_ssize_t i) noexce
try
{
return
listGetitemUnboxed
(
static_cast
<
BoxedList
*>
(
op
),
i
);
}
catch
(
ExcInfo
e
)
{
abort
();
setCAPIException
(
e
);
return
NULL
;
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment