- 03 Aug, 2015 3 commits
-
-
Boxiang Sun authored
-
Boxiang Sun authored
-
Boxiang Sun authored
-
- 02 Aug, 2015 1 commit
-
-
Kevin Modzelewski authored
Haven't looked into it that much, but my guess is that it was introduced in some newer version of clang than what some people are using. It was added for the use of the clang-pgo build, but we ended up dropping that so it should be ok to drop this flag.
-
- 01 Aug, 2015 8 commits
-
-
Kevin Modzelewski authored
Make Raise and Subscript exprs use capi exceptions
-
Kevin Modzelewski authored
Add some function to old style class
-
Kevin Modzelewski authored
And fix a bunch of resulting issues (mostly just some pretty benign assertion errors).
-
Kevin Modzelewski authored
Less helpful than I thought for now -- the KeyErrors are thrown by a custom class that does `raise KeyError`, so we won't benefit from this until we can have jitted code throw (not just receive) capi exceptions.
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
Import the ctypes module.
-
Kevin Modzelewski authored
Small bjit improvements + fixes the build
-
- 31 Jul, 2015 10 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
-
Boxiang Sun authored
-
Boxiang Sun authored
-
Kevin Modzelewski authored
-
Rudi Chen authored
-
Kevin Modzelewski authored
It wouldn't rerun cmake if cmakelists.txt got updated.
-
- 30 Jul, 2015 18 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
-
Boxiang Sun authored
-
Boxiang Sun authored
-
Boxiang Sun authored
-
Boxiang Sun authored
-
Rudi Chen authored
Since it's one class and it's big enough, might as well have it's own file.
-