- 07 Aug, 2015 6 commits
-
-
Kevin Modzelewski authored
and friends. Should be pretty much the last step for letting calls go all the way through our runtime using CAPI exceptions.
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
add __doc__ attribute to capifunc
-
Kevin Modzelewski authored
Refactor location and names of gc visit functions.
-
- 06 Aug, 2015 10 commits
-
-
Rudi Chen authored
-
Rudi Chen authored
This serves two purposes. 1) Improve naming consistency (follow the format TYPENAME::gcHandler) 2) In the source file, the visit function declaration is closer to the fields of the objects. If a field is added, hopefully it will be easier to remember to update the GC visit function.
-
Rudi Chen authored
-
Kevin Modzelewski authored
Add "doctest" support
-
Boxiang Sun authored
-
Kevin Modzelewski authored
My guess is that there's a build dependency issue, where we try building files that include libunwind.h before we run the rules that generate it. Not sure why we weren't running into that before. But the normal c++ files in src/ correctly depend on libunwind, but the ones in src/runtime/inline don't seem to. For good measure, don't include libunwind.h in our header files, and just use forward-declaring.
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
ie what you create either on the repl (where we were close) or with `exec compile(foo, bar, "single")` (where we were not so close). With these changes, doctest seems to mostly be working.
-
Kevin Modzelewski authored
This was stemming from our use of the HEAPTYPE flag for our builtins, and cpython inferring "is builtin" from that. Also, fix a couple other minor things that I ran into.
-
- 05 Aug, 2015 10 commits
-
-
Kevin Modzelewski authored
object.__str__ use capi slot in order to increase compatibility with cpython
-
Marius Wachtler authored
-
Marius Wachtler authored
With this change we print True for: class C(object): pass print C.__str__ is object.__str__ Cheetah depends on this behaviour (see https://bitbucket.org/pypy/compatibility/wiki/cheetah)
-
Kevin Modzelewski authored
Move our integration tests to a separate repository
-
Kevin Modzelewski authored
By default it just does `git submodule init`
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
Enable future builtins module and add test file
-
Kevin Modzelewski authored
Hash improvement for complex, str and long.
-
- 04 Aug, 2015 7 commits
-
-
Boxiang Sun authored
-
Kevin Modzelewski authored
section ordering hack: use the PGO-determined ordering
-
Kevin Modzelewski authored
Rather than do anything smart, just copy the ordering that the pgo build used. To keep the file reasonable, only emit entries for functions that appear in the perf results (cuts from >1M entries to ~2k). I tried getting the hhvm "hfsort" to work, but ran into some fixable-but-annoying issues getting it integrated (ex need to bring in some other libraries). Let's just try this for now; the goal isn't to get the absolute best performance anyway, since for that we'll use PGO and ignore the section ordering file.
-
Boxiang Sun authored
-
Boxiang Sun authored
-
Boxiang Sun authored
-
Boxiang Sun authored
-
- 03 Aug, 2015 7 commits
-
-
Kevin Modzelewski authored
getiter: use tp_iter for non python types
-
Marius Wachtler authored
-
Marius Wachtler authored
-
Kevin Modzelewski authored
Some improvements to make test unary could pass
-
Kevin Modzelewski authored
Recursive printing
-
Kevin Modzelewski authored
Enable `test slice` and add missing function.
-
Boxiang Sun authored
-