- 01 Aug, 2015 2 commits
-
-
Kevin Modzelewski authored
Import the ctypes module.
-
Kevin Modzelewski authored
Small bjit improvements + fixes the build
-
- 31 Jul, 2015 8 commits
-
-
Kevin Modzelewski authored
Add tip on how to debug infinite recursive bugs from tp_ slots.
-
Rudi Chen authored
-
Marius Wachtler authored
-
Marius Wachtler authored
-
Marius Wachtler authored
-
Kevin Modzelewski authored
-
Rudi Chen authored
-
Kevin Modzelewski authored
It wouldn't rerun cmake if cmakelists.txt got updated.
-
- 30 Jul, 2015 14 commits
-
-
Kevin Modzelewski authored
have the llvm jit start emitting some capi-style calls
-
Rudi Chen authored
The test was passing before by using the fallback behavior, but importing ctypes successfully makes it try to use it and fails.
-
Rudi Chen authored
- Temporarily disable code for ctypes that requires class descriptors. - Skip the attribute lookup for __new__ for the base type class and directly call a special function assigned to tp_new. - Add a #define from CPython's ./configure - Add test.
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
Eventually we'll want to have a more sophisticated way of determining when to switch to capi exceptions; they do add noticeable overhead when no exception gets thrown.
-
Kevin Modzelewski authored
None are enabled in this commit, but add some of the helpers for handling exceptions if they were to be thrown.
-
Kevin Modzelewski authored
-
Rudi Chen authored
-
Rudi Chen authored
If both a metaclass and an instance of it are defined in C extensions, the metaclass doesn't have attrs_offset != 0 or tp_dictoffset != 0 which causes the call to PyType_Ready on the instance to fail.
-
Rudi Chen authored
-
Rudi Chen authored
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
Refactors and cleanup in objmodel.cpp
-
Rudi Chen authored
Since it's one class and it's big enough, might as well have it's own file.
-
- 29 Jul, 2015 3 commits
- 28 Jul, 2015 13 commits
-
-
Kevin Modzelewski authored
Force instantiate these templates as well
-
Kevin Modzelewski authored
Add some PerThreadSet features
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
- some extra debugging for the threading_local issue - remove the data for threads that don't come along with a fork()
-
Kevin Modzelewski authored
Templatize runtimeCall for different exception styles
-
Kevin Modzelewski authored
bjit: fix problems when setting bjit thresholds to 1
-
Marius Wachtler authored
-
Marius Wachtler authored
-
Marius Wachtler authored
- we hit an assert when we ran out of scratch space - 'classobjSetattr' returned void but all runtime funcs must return a Box* object. - sneak in a change which removes a unused arg from '_setupCall'
-
Kevin Modzelewski authored
Which also involves templatizing most of the things that it calls as well. CompiledFunction's now have an additional parameter "exception_style", and we will try to call a version of the function with the requested style. All of our runtime functions are written to the CXX style, and there's not a whole lot of benefit until we templatize the runtime functions individually.
-