- 11 May, 2015 7 commits
-
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
By replacing the entry in sys.modules. pytest does this.
-
Kevin Modzelewski authored
This was preventing subclasses of module from overriding __init__. Yes, that really happens.
-
Kevin Modzelewski authored
sqlalchemy uses pytest to run its test suite, which unfortunately has been hard to get working.
-
Chris Toshok authored
Ignore generated tmp folders.
-
Kevin Modzelewski authored
visit im_class in gc handler
-
- 10 May, 2015 4 commits
-
-
Kevin Modzelewski authored
-m support
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
In particular this helps with our support for throwing old-style classes as exceptions.
-
Kevin Modzelewski authored
-
- 09 May, 2015 9 commits
-
-
Travis Hance authored
made the checks in CheckExact
-
Kevin Modzelewski authored
zip() takes varargs. django passes 3 containers to it.
-
Kevin Modzelewski authored
Fix speculations at module scope
-
Kevin Modzelewski authored
Conflicts: src/runtime/objmodel.cpp Closes #466
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
Add im_class field to BoxedInstanceMethod, implement instancemethodRepr
-
Kevin Modzelewski authored
Add support for string interning
-
Kevin Modzelewski authored
Handle map(None,...), exec with module.__dict__ as globals
-
Kevin Modzelewski authored
Singleton hcls storage strategy
-
- 08 May, 2015 9 commits
-
-
Kevin Modzelewski authored
The storage strategy per-object is the same as NORMAL, but instead of having immutable chains of hidden classes so that we can share them between instances, a SINGLETON hcls is unique to the single object that it is for. This means that it can be mutable. This has the advantage that we don't have to track all the parents of the hidden class. This is especially helpful since the cases that it's used for (Python classes and modules) tend to have a large number of attributes (>100 not uncommon). We could also use the DICT_BACKED strategy for those cases, but compared to DICT_BACKED, SINGLETON should have much better lookup performance since it is patchpoint-compatible. Adding new attributes is probably slower, and deleting attributes is probably much slower, but I think those are hopefully rare. This cuts non-jit 'import pip' memory by 15%, from 113MB to 98MB.
-
Kevin Modzelewski authored
Not only does this improve perfomance, but it somehow improves performance consistency as well.
-
Marius Wachtler authored
we could use this in much more places if performance and memory benchmarking shows it's an improvement.
-
Marius Wachtler authored
-
Kevin Modzelewski authored
import with globals
-
Kevin Modzelewski authored
It's a little bit complicated due to the fact that gdb has to be the parent so that it can have the permissions to ptrace the process that segfaults.
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
imports apparently have to look at the globals scope in order to determine how to handle relative imports and package references. Sqlalchemy for some reason does this, and once we have this sqlalchemy imports.
-
Rudi Chen authored
-
- 07 May, 2015 9 commits
-
-
Kevin Modzelewski authored
delete capi/float.cpp
-
Marius Wachtler authored
-
Kevin Modzelewski authored
I don't remember the original reasoning for having the separate capi/float.cpp, and all the other runtime/ files have their CAPI methods inline.
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
workaround for __rdtscp for now
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
put back in the Timer-based stats I removed in the stats-timer branch…
-
Rudi Chen authored
-
Chris Toshok authored
put back in the Timer-based stats I removed in the stats-timer branch, and allow stat timers to be disabled separately from the rest of the stats (disable them by default.)
-
- 06 May, 2015 2 commits
-
-
Chris Toshok authored
Stat timers
-
Chris Toshok authored
-