- 12 May, 2015 8 commits
-
-
Kevin Modzelewski authored
by adding sys.excepthook.
-
Kevin Modzelewski authored
Add pyxl hello world integration test
-
Chris Toshok authored
Add support for weakref.proxy
-
Marius Wachtler authored
-
Marius Wachtler authored
-
Kevin Modzelewski authored
Add support for specifying the encoding inside source files.
-
Kevin Modzelewski authored
Support for inspect.isgenerator, round(int), property.__doc__
-
Kevin Modzelewski authored
Sqlalchemy tests
-
- 11 May, 2015 13 commits
-
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
Apparently the 'assert' statement works by looking up the "AssertionError" name in the global scope, and then raising an exception of that type. pytest uses this to override assertion behavior.
-
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.
-
Marius Wachtler authored
-
Marius Wachtler authored
-
Marius Wachtler authored
-
Marius Wachtler authored
I had to change 'new_weakref' to use 'tp_alloc' instead of 'PyObject_GC_New' in order to create a weak ref because 'PyObject_GC_New' allocated memory is scanned conservatively. 'tp_alloc' points to 'PystonType_GenericAlloc' and is of PYTHON type.
-
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 6 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.
-