- 12 Nov, 2016 6 commits
-
-
Kevin Modzelewski authored
and disable a sqlalchemy test that was overspecific
-
Kevin Modzelewski authored
We had a few places where we added BoxedBuiltinFunctionOrMethod, which don't have bind-on-get behavior, causing issues with __call__
-
Kevin Modzelewski authored
(a == b) != (b == a)
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
This is not quite right since type.__call__ isn't even a proper function in CPython. But our handling of it is complicated enough that I think it's worth trying this workaround for now.
-
Kevin Modzelewski authored
-
- 10 Nov, 2016 5 commits
-
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
for things (our build tools) that look for "python" explicitly.
-
Kevin Modzelewski authored
Add "log hashing" to see new failures
-
Marius Wachtler authored
transform BST to gapless bytecode inplace
-
Kevin Modzelewski authored
A common issue is that we see that a test goes from N failures to N+1, but it's not clear at all which of the failures is new. This adds a simple hashing mechanism to try to help us in these cases: we hash each line in the log, and construct a small bloom filter of which lines were seen. We can then put this into the test file, and when the test fails we can run the received output against the expected bloom filter. I tried testing it and it seems ok, but we'll have to see how well it works in practice.
-
- 09 Nov, 2016 2 commits
-
-
Marius Wachtler authored
this simplifies the code and removes a lot of ugliness
-
Kevin Modzelewski authored
-
- 08 Nov, 2016 2 commits
-
-
Kevin Modzelewski authored
Get dict ordering closer to CPython's
-
Kevin Modzelewski authored
Typo fixes from PR #1389
-
- 07 Nov, 2016 7 commits
-
-
Kevin Modzelewski authored
- 64 bit hashes in a couple more places - insert-then-grow, instead of previously doing grow-then-insert (changes the order of reinsertion during the grow)
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
Rather than switching to CPython's dict implementation, which would be quite a bit of code changes (since we use our internal dict interface a lot), change our current dict implementation to more-closely match CPython's. In particular, change the growth strategy and probing strategy to match cpython's. I'm not sure how I feel about this -- there are still a number of differences. In theory this is still an improvement over the current status quo (fewer ordering differences), but I don't know if we need to go all the way and make sure to have zero ordering differences.
-
Marius Wachtler authored
jemalloc: build with profiling support
-
Marius Wachtler authored
I think we get one more failure because http://pythonpaste.org/ is down but I'm not totaly sure. master runs into the same problem but did not 12 days go
-
Marius Wachtler authored
cpython encounters the same error I took the opportunity to switch to py.test from nose now that we support it and this is how one should test this package.
-
Marius Wachtler authored
-
- 06 Nov, 2016 1 commit
-
-
Kevin Modzelewski authored
Minus the ones to code that we inherited from CPython or LLVM, in order to keep those diffs clean.
-
- 05 Nov, 2016 3 commits
-
-
Marius Wachtler authored
-
Marius Wachtler authored
-
Marius Wachtler authored
- all instructions of the CFG are directly emitted a single memory region - all instructions are packed and follow each other directly - the CFGBlock just stores the offset into the bytecode where the first instruction of the block is located - invokes are only a bit in the opcode field which when set means that the pointers to the normal and exc CFGBlocks* directly follow the normal instruction
-
- 04 Nov, 2016 1 commit
-
-
Marius Wachtler authored
-
- 25 Oct, 2016 1 commit
-
-
Kevin Modzelewski authored
Fix attrwrapper comparisons
-
- 22 Oct, 2016 1 commit
-
-
Kevin Modzelewski authored
I really hope this doesn't break anything, but in theory it's a compatibility break (especially for C extensions).
-
- 19 Oct, 2016 3 commits
-
-
Kevin Modzelewski authored
And add some extra checking to make sure we don't make these kinds of mistakes more
-
Kevin Modzelewski authored
Fix instancemethod comparisons
-
Kevin Modzelewski authored
BST: remove some of the remaining pointers, earlier boxed code destruction
-
- 13 Oct, 2016 1 commit
-
-
Kevin Modzelewski authored
It was previously incorrectly succeeding: we happened to throw a similar-enough exception that the test thought we were testing the right thing. Once we fixed that bug, it turned up that we didn't throw the exception that the test is expecting. I don't like removing tests but this isn't any worse than the current situation of not really testing this functionality.
-
- 11 Oct, 2016 1 commit
-
-
Kevin Modzelewski authored
We had implemented instancemethod.__eq__, but not any of the other comparisons, and most importantly, not __hash__.
-
- 06 Oct, 2016 6 commits
-
-
Marius Wachtler authored
-
Marius Wachtler authored
In the future we should just support embedding tuples as constants (of course only when all elements are constant) and then use this mechanism instead of the 'std::vector<BoxedString*>'
-
Marius Wachtler authored
Replace it with a index into a table of definitions and code objects This also now frees much more code objects early because they get proper refcounted now
-
Marius Wachtler authored
we will soon need this
-
Marius Wachtler authored
now that the FlattenVisitor is gone nobody uses this anymore
-
Marius Wachtler authored
we don't need it anymore now that we eliminated nearly all pointers to nodes.
-