- 05 Oct, 2016 1 commit
-
-
Kevin Modzelewski authored
- Fix a test to do the correct number of iterations - Catch more exceptions in PyDict_GetItem/createModule (now that more things can throw)
-
- 04 Oct, 2016 10 commits
-
-
Kevin Modzelewski authored
Specifically, when passed to PyArg_ParseTuple when a dict argument is asked for.
-
Kevin Modzelewski authored
google's protobuf library gives away one too many refs to one of its types. This workaround feels excessively specific, but this is a common mistake to make, and it works just fine in CPython, so let people get away with it as well in Pyston.
-
Kevin Modzelewski authored
We weren't properly reducing the stack depth when yielding from a generator, meaning that the recursion depth was effectively decreased by the number of active generators.
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
Too many things want this to be able to remove it completely. Surprisingly, having imp.get_magic exist but return a changing value seems to make all those libraries happy.
-
Kevin Modzelewski authored
A function at risk of "naive misuse", it is only accessible via the C API. This commit adds basic support for it using the same mechanism we use for signals. We also have the GIL-check mechanism, but that would be a bit more work to get working right now due to the fact that our GIL-checks don't support throwing exceptions. Doing the async-exc check during signal checking means that we will throw the async exc faster than CPython does. It also means that there are some pathological cases where with a lot of threads and a lot of async excs we will probably have much worse performance. But as long as they are rare I think this commit shouldn't add any steady-state performance costs.
-
Kevin Modzelewski authored
Specifically, for the case that locals==NULL (which Cython exercises), which wasn't previously working. now using ctypes to test the c api
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
We fast-pathed "type has __init__ but not __new__" by saying that the default __new__ would always succeed, but this isn't true for abstract classes.
-
Kevin Modzelewski authored
-
- 29 Sep, 2016 1 commit
-
-
Kevin Modzelewski authored
Add test for typing.py and fix the issues it uncovers
-
- 28 Sep, 2016 2 commits
-
-
Kevin Modzelewski authored
Otherwise they would inherit object's __doc__
-
Kevin Modzelewski authored
-
- 27 Sep, 2016 2 commits
-
-
Kevin Modzelewski authored
Update lz4 to a version compatible with gcc 4.9+
-
Kevin Modzelewski authored
Not 100% sure of the reason but lz4 gets mis-optimized (or "has UB" depending on who you ask) in the version that we're using, so update to a version that has a fix.
-
- 26 Sep, 2016 1 commit
-
-
Kevin Modzelewski authored
Make these properly CAPI functions
-
- 21 Sep, 2016 4 commits
-
-
Kevin Modzelewski authored
Change section memory manager to fix performance problem in long-runn…
-
Kevin Modzelewski authored
-
Dong-hee Na authored
remove RODataMem.FreeMem.clear(); and replace return true to RELEASE_ASSERT(0, "finalizeMemory failed")
-
Kevin Modzelewski authored
Add type.__instancecheck__ and __subclasscheck__
-
- 20 Sep, 2016 1 commit
-
-
Kevin Modzelewski authored
We supported classes that overrode them, but didn't provide a default implementation in case people called it by hand. The tricky part is making sure that these new additions don't mess with our "does this class override __instancecheck__" optimizations.
-
- 19 Sep, 2016 2 commits
-
-
Marius Wachtler authored
Fix docs about stats option
-
sh92 authored
-
- 14 Sep, 2016 1 commit
-
-
Dong-hee Na authored
-
- 13 Sep, 2016 4 commits
-
-
Dong-hee Na authored
-
Kevin Modzelewski authored
Take a pass over the CPython tests
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
and only run the small variant in debug mode to avoid timeouts. Previously I had tried splitting it in half, but it looks like that's both not enough to avoid timeouts, and it also has a race condition when trying to run two copies of the test at the same time (one will read the not-fully-written pickled output of the other).
-
- 12 Sep, 2016 11 commits
-
-
Kevin Modzelewski authored
Two of these tests pass in release mode but not in debug (one is a timeout, the other is an assertion) Two of them are failing in both and I don't know why I marked them as succeeding.
-
Kevin Modzelewski authored
ie did some quick debugging and added test notes
-
Kevin Modzelewski authored
needed because of how we symlink things
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
test_itertools was failing because of a version mismatch between the test and the implementation we copied
-
Kevin Modzelewski authored
For some reason the max-RSS limit doesn't seem to be kicking in. Switch to putting a limit on the virtual size instead, and bump the limit from 500MB to 1.5GB.
-
Kevin Modzelewski authored
to not conflict with CPython's -O. They're quite similar (increase optimization level), but some tests ask for -O when they don't really want our version of it.
-
Kevin Modzelewski authored
-