- 28 Oct, 2015 1 commit
-
-
Kevin Modzelewski authored
-
- 27 Oct, 2015 10 commits
-
-
Kevin Modzelewski authored
Add a FileHandle class for c++-style raii on FILE* objects. Also, add support for using the cpython parser for parsing strings (still only in -X mode).
-
Kevin Modzelewski authored
Support building distribution packages
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
- Add a pyston micro version - Move to the convention of "current version number is for the next release", instead of "previous release". I think this is more standard? - Get rid of our PYTHON_VERSION_MAJOR/MINOR/MICRO flags, and instead use CPython's versions. We in theory had the ability to target different micro versions at runtime, but we never made use of this. Having the two sets of flags isn't very sensible either.
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
Add support for using the CPython parser
-
- 26 Oct, 2015 9 commits
-
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
That file doesn't have an include guard so it's tricky to get it working.
-
Kevin Modzelewski authored
Not the actual memory blocks in it, but just the main metadata object. It contains pointers to other python objects; we could potentially remove those pointers (looks like they are just for reference counting) but for now just conservatively-allocate it.
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
Tricky since we need to open a pseudotty to get the repl behavior. (Piping in a program to stdin goes through a different code path.)
-
- 23 Oct, 2015 1 commit
-
-
Kevin Modzelewski authored
pyxl_bench allocation reductions
-
- 21 Oct, 2015 2 commits
-
-
Marius Wachtler authored
rewrite instance_setattro
-
Marius Wachtler authored
-
- 20 Oct, 2015 2 commits
-
-
Kevin Modzelewski authored
LLVM tier: adjust num of IC slots depending on the num of times the IC got rewritten in the bjit tier
-
Marius Wachtler authored
LLVM tier: adjust num of IC slots depending on the num of times the IC got rewritten in the bjit tier
-
- 16 Oct, 2015 15 commits
-
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
Avoid creating most slice objects
-
Kevin Modzelewski authored
Module-level functions go through a slightly different code path than class-level ones, so this commit adds the METH_O3/METH_D3 calling conventions to that as well.
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
Some stuff to enable "test_set"
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
We've been allocating slice objects for slicing operations, but CPython's internal slice methods already take separate start+stop arguments. So if we see a slice, instead of creating the slice and sending it off to getitem, try calling PySequence_GetSlice. This will be slower for classes with user-defined __getitem__ functions that can handle slices; we can fix that by adding rewriting to this new endpoint, but it seems to not matter too much right now.
-
Kevin Modzelewski authored
Cleanup the __str__, __repr__ support and let they handle unicode strings
-
Boxiang Sun authored
-
Marius Wachtler authored
This converts a lot of -(int) into (-int)
-
Marius Wachtler authored
-
Boxiang Sun authored
-
Boxiang Sun authored
-
Marius Wachtler authored
typeLookup: guard on tp_version_tag instead of mro
-
Marius Wachtler authored
For types which don't have Py_TPFLAGS_HAVE_VERSION_TAG set we keep the old behaviour
-