- 06 Oct, 2015 4 commits
-
-
Kevin Modzelewski authored
After much investigation, I think this is the best option for now. We might need to patch sqlalchemy or switch to refcounting. The issue is that there's a dangling cursor that's left open, and under cpython it will get closed quickly. But for us, it's left open, which keeps the connection open. This leaves the table its referencing locked. But only in old versions of sqlite! Newer versions are smart enough to know that 'select current_timestamp() from table' does not need to lock the table, so even though that select statement is still running, it doesn't end up locking the table. PyPy has a different issue with the test, where it closes the cursor too early (not sure why).
-
Kevin Modzelewski authored
This exposed some other issues for us.
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
-
- 04 Oct, 2015 2 commits
-
-
Marius Wachtler authored
use a template to remove rewriter checks inside our most important runtime funcs
-
Marius Wachtler authored
when we know that the rewrite_args are NULL origin/rewritable~: origin/rewritable: django_template3.py 2.7s (4) 2.7s (4) -1.3% pyxl_bench.py 2.2s (4) 2.2s (4) -1.7% sqlalchemy_imperative2.py 2.7s (4) 2.6s (4) -2.4% geomean 2.5s 2.5s -1.8%
-
- 02 Oct, 2015 3 commits
-
-
Kevin Modzelewski authored
Add more asserts to aggressively enforce return conventions
-
Kevin Modzelewski authored
You can't get the return value from a RewriteArgs without looking at the return convention. Debug mode will check the return convention during the execution of rewrites. Split "VALID_RETURN" into "HAS_RETURN" and "CAPI_RETURN" since some places used it to mean either. Hopefully this helps keep things clean. There are a lot of places that were implictly assuming a certain return convention, but now that they have to explicitly assume it, the issues are more obvious. Plus they will get checked in the debug builds. Also tried to fix things up while going through and doing this refactoring; I think I found a number of issues.
-
Kevin Modzelewski authored
add m2crypto test + fix missing stuff
-
- 01 Oct, 2015 10 commits
-
-
Kevin Modzelewski authored
IsType fix
-
Kevin Modzelewski authored
Add a check to make sure users don't request custom __builtins__
-
Kevin Modzelewski authored
I'm not quite sure what they're trying to use it for, but it looks like it doesn't really do anything. And we're no worse off with the patch+assert than simply ignoring the behavior.
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
Fix registerDataSegment error when encountering symlinks
-
Marius Wachtler authored
the /proc/maps entry contains the absolute file path with resolved symlinks, this patch retrieves now the absolute path of the lib and resolves symlinks.
-
Kevin Modzelewski authored
Add "pyinotify" test, with a minor modification to Pyston
-
Kevin Modzelewski authored
We don't support that, and hopefully we don't have to. CPython seems pretty inconsistent about it and PyPy doesn't support it.
-
Kevin Modzelewski authored
Ellipsis implementation
-
Dong-hee Na authored
-
- 30 Sep, 2015 5 commits
-
-
Kevin Modzelewski authored
type.__getattribute__ and object.__getattribute__ are different
-
Boxiang Sun authored
-
Marius Wachtler authored
- oldstyle classed don't add __bases__ and __name__ as attributes to their dict instead the intercept them with __getattribute__ - it was possible to encounter a crash when importing a module and then deleting the entry from sys.modules and calling the function from the other module - add a Pyston specific PyCode_GetArgCount instead of directly accessing code->co_argcount
-
Kevin Modzelewski authored
- allow list subclasses to add __init__ functions that take more parameters - support `[dict] == [attrwrapper]` - fix bug in my recent weakref change
-
Kevin Modzelewski authored
Calling object.__getattribute__ on a class will skip the normal special type attribute-lookup rules (checking base classes, executing descriptors).
-
- 29 Sep, 2015 6 commits
-
-
Boxiang Sun authored
-
Boxiang Sun authored
-
Kevin Modzelewski authored
make platform test pass
-
Kevin Modzelewski authored
misc fixes for pyopenssl
-
Marius Wachtler authored
-
asaka authored
-
- 28 Sep, 2015 6 commits
-
-
Marius Wachtler authored
-
Marius Wachtler authored
-
Marius Wachtler authored
before we only registered BSS data (aka static vars without initalizer) now we also register static vars with initalizer. CFFI (and probably other libraries) needs this.
-
Marius Wachtler authored
Add setting func.func_code, PyCFunction_Call, vars() error handling
-
Marius Wachtler authored
We pass most of the tests, some of the errors are becasue we don't use refcounting and lxml depends on it (aka pypy has the same issues)
-
Marius Wachtler authored
- in additon allow Py_TPFLAGS_HAVE_VERSION_TAG because even though we don't use it this flag shouldn't cause problems - allow tp_del because AFAIK it's implemented. - allow calling methods which specify METH_COEXIST because it doen't make a difference for the call - disable PyCode_New call inside cython because we don't support it yet and it's unused. - change cython to use PyCFunction_Call instead of the custom version it has for pypy
-
- 25 Sep, 2015 4 commits
-
-
Kevin Modzelewski authored
some long improvements
-
Kevin Modzelewski authored
Enable a bunch more sqlalchemy tests
-
Kevin Modzelewski authored
and sqlalchemy needs it to. Disable unboxing for now; I think I know how to reenable it but I don't think there will be much of a perf impact.
-
Kevin Modzelewski authored
The CPython implementation relies on immediate destruction.
-