- 20 Aug, 2015 1 commit
-
-
Kevin Modzelewski authored
-
- 19 Aug, 2015 1 commit
-
-
Kevin Modzelewski authored
Mercurial fixes
-
- 18 Aug, 2015 18 commits
-
-
Kevin Modzelewski authored
Some misc small optimizations
-
Kevin Modzelewski authored
descriptor/format fix
-
Kevin Modzelewski authored
bjit: don't generate a 'getGlobal' call for 'None'
-
Kevin Modzelewski authored
Some improvements for int to let test_int could pass
-
Kevin Modzelewski authored
They had mistakenly gotten enabled because the name of the integration test step was a superstring of the quick tests, so it matched the regex.
-
Kevin Modzelewski authored
It had gotten to the point that a large part of the cost of throwing an eception was allocating the std::string's to represent the function and filename. Most of the other strings have already been converted to being represented as BoxedString's (ie python strings), so do that conversion here and a few more places.
-
Kevin Modzelewski authored
The callee had already but updated to take a smallvector, but we were still instantiating it as a std::vector.
-
Kevin Modzelewski authored
Call a combined new+init, and don't create an arg tuple just to immediately slice into it.
-
Kevin Modzelewski authored
Much faster than using pyElements into a std::vector<Box*, StlCompatAllocator>. I think pyElements is pretty good, but the PySequence_Fast approach can beat it since we do the entire conversion up-front, and don't pay the dispatching cost per iteration. Plus the STL-compat-allocator is just as expensive as a Python list, and most of the time the extra storage isn't needed anyway.
-
Kevin Modzelewski authored
Instead of relying on stack unwinding to find it.
-
Marius Wachtler authored
-
Boxiang Sun authored
-
Boxiang Sun authored
-
Boxiang Sun authored
-
Boxiang Sun authored
-
Boxiang Sun authored
add instanceTrunc to old style class, but not expose the API, just let instanceInt call it when the inst don't have __int__ attr
-
Boxiang Sun authored
-
Boxiang Sun authored
-
- 17 Aug, 2015 10 commits
-
-
Kevin Modzelewski authored
Copy tp_as_number *after* commonClassSetup
-
Kevin Modzelewski authored
Was a descriptor issue where we were interpreting 'None' as 'no argument'. I think this only gets triggered when pip has to do a http retry, which is why it only sporadically made the tests fail.
-
Kevin Modzelewski authored
To specify the lack of the second argument. This improves compatibility when applying descriptors to the None object itself. This was showing up since we were trying to call None.__format__
-
Kevin Modzelewski authored
Add float_info to sys module, and rewrite version_info use SequenceStructure
-
Kevin Modzelewski authored
This is important because commonClassSetup will modify tp_as_number if it exists. This causes an issue when an extension class uses multiple inheritance; it will inherit the tp_as_number from its main base, but then copy in any fields from its secondary bases. But tp_as_number points to the same struct as its parent, so it would update the parent's slots accidentally. So, move the tp_as_number copying to where CPython does it, or at least, after the calls to inherit_slots.
-
Kevin Modzelewski authored
Add more __repr__ attributes to our builtins
-
Marius Wachtler authored
-
Boxiang Sun authored
-
Boxiang Sun authored
-
Boxiang Sun authored
-
- 16 Aug, 2015 2 commits
-
-
Marius Wachtler authored
Switch our Python set implementation to use a llvm::DenseSet
-
Marius Wachtler authored
-
- 15 Aug, 2015 4 commits
-
-
Kevin Modzelewski authored
Microoptimize the rewriter class
-
Marius Wachtler authored
-
Kevin Modzelewski authored
Improve the float implementation, enable test_float
-
Kevin Modzelewski authored
make `int("some_random_string")` faster
-
- 14 Aug, 2015 4 commits
-
-
Kevin Modzelewski authored
Probably more compatible, but also much faster. Also, set str_cls->tp_repr.
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
We currently over-build it quite a bit; I'll try to look into that issue, but for now we can lessen the effects by at least building it in parallel.
-
Kevin Modzelewski authored
Allow string + bytearray => bytearray. Fixes #780
-