- 28 Sep, 2015 5 commits
-
-
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 5 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.
-
Kevin Modzelewski authored
-
- 24 Sep, 2015 6 commits
-
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
some improvements in intNew
-
Boxiang Sun authored
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
This checking should probably be enforced by the API.
-
Kevin Modzelewski authored
Wasn't checking the return convention -- not sure how I missed this when I added that.
-
- 23 Sep, 2015 18 commits
-
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
Misc fixes for sqlalchemy
-
Boxiang Sun authored
-
Kevin Modzelewski authored
It would memorize whether or not to call __getattr__, and didn't do enough guarding to make sure that that was the case.
-
Kevin Modzelewski authored
need to free the metaclasses in the same collection.
-
Kevin Modzelewski authored
A discrepancy between irgen and type_analysis was causing an assertion. The difference was that irgen will do full type inference for things that get put into closures (ie in the parent scope), but type_analysis was bailing and just saying that it was unknown.
-
Kevin Modzelewski authored
Support the "decorator" library
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
`print >>None` goes to stdout, and printing to things without write() functions should throw exceptions.
-
Kevin Modzelewski authored
by converting to our DICT_BACKED hidden class strategy.
-
Kevin Modzelewski authored
Set a flag on the class, rather than having to specify a whitelist. Even though this is pretty annoying I think it's still worth it.
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
ie exec and eval statements are supposed to start with the future flags of the scope in which they are called. Our flags currently get applied after parsing, which for the most part is fine, except print_statement which actually changes the result of parsing. ie `exec "print(1, 2)"` could either be parsed as a function call, which will print "1 2", or as a print statement of a tuple, which prints out "(1, 2)". So thread the future flags through the parsing stages as well.
-
Kevin Modzelewski authored
Try to fix set-dtor segfault
-
Kevin Modzelewski authored
The line of a decorated function is the decorator
-
Kevin Modzelewski authored
This is the test for the fix in vinzenz/libpypa#49
-
Kevin Modzelewski authored
fix Makefile to be able to 'make' after 'make clean'
-
- 22 Sep, 2015 4 commits
-
-
Kevin Modzelewski authored
The issue is that the set destructor, which is marked as "safe", will try to access the type object. But a safe destructor is not allowed to assume that any objects are alive, including its own class. We do actually force the class to be alive during a safe destructor, but the tp_mro field was not so lucky. We could try to address this by saying again that types have ordered finalizers, which will cause them to also keep their references alive. But this doesn't completely work since it will cause issues with objects that have actual ordered finalizers. So for now, just remove type-check from the destructor.
-
Kevin Modzelewski authored
Properly handle METH_COEXIST
-
Dong-hee Na authored
-
Kevin Modzelewski authored
By importing the cpython implementations of add_methods / add_members / add_getset.
-
- 21 Sep, 2015 2 commits
-
-
Kevin Modzelewski authored
Set cls->has_getattribute for extension classes
-
Kevin Modzelewski authored
-