- 18 Aug, 2015 11 commits
-
-
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
-
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 13 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
-
Boxiang Sun authored
-
Kevin Modzelewski authored
improve getattr() speed
-
Boxiang Sun authored
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
We're keeping them around anyway
-
Kevin Modzelewski authored
Our exception throwing is still slower than CPython's, and it looks like it's partially due to the CAPI calls we do as part of the throwing process. For example, we have to actually create an exception object, which involves calling the exception type constructor, etc. We could try to jit this stuff, but for now add another fast-path to typeCall that should catch some of this. Also, add a fast-path that inlines most of the exception-creation behavior. Looks like this isn't too much faster than the above-mentioned fast-path.
-
Kevin Modzelewski authored
-
Vinzenz Feenstra authored
-