- 26 Feb, 2016 1 commit
-
-
Kevin Modzelewski authored
Update copyright to 2016
-
- 25 Feb, 2016 2 commits
-
-
Marius Wachtler authored
-
Marius Wachtler authored
Fixes for tp_new for C extensions
-
- 24 Feb, 2016 2 commits
-
-
Marius Wachtler authored
add GeopIP integration test and use cpythons do_mkvalue and fix some problems of test_builtin.py
-
Marius Wachtler authored
-
- 23 Feb, 2016 2 commits
-
-
Marius Wachtler authored
Unfortunately there are still a few hiding which means we can't yet run test_builtin.py right now
-
Marius Wachtler authored
-
- 22 Feb, 2016 6 commits
-
-
Kevin Modzelewski authored
Tuple and list calling order fixing.
-
Kevin Modzelewski authored
add reload() and a integration test for simplejson
-
Marius Wachtler authored
-
Marius Wachtler authored
-
Boxiang Sun authored
in tuple operation, if the op type check failed, return NotImplemented instead throw exception, let custom type has chance to call their own function
-
Boxiang Sun authored
throw exception in list multiply only if the second op is indexable, otherwise return NotImplemented
-
- 21 Feb, 2016 1 commit
-
-
Marius Wachtler authored
create a unidecode integration test and enable test_imp
-
- 19 Feb, 2016 2 commits
-
-
Marius Wachtler authored
this tests the import changes from #1105 and did not work before this change.
-
Marius Wachtler authored
Call PyType_Modified() in add_operators()
-
- 18 Feb, 2016 5 commits
-
-
Kevin Modzelewski authored
Sometimes we started filling in the method-cache before calling add_operators. add_operators directly modifies the class objects, so it needs to signal that the cache is now invalid. I think CPython avoids needing this since they never call add_operators after doing any type lookups, but we are a bit more flexible with our initialization.
-
Kevin Modzelewski authored
fix import
-
Marius Wachtler authored
I could not find a reliable way to reproduce it and don't fully understand the problem :-( But it looked like we were sometimes calling into the generic setattr instead of the classobj setattr when doing a delete.
-
Marius Wachtler authored
this fixes some smaller differences we had and adds some previously unsupported stuff to the imp module (we could not load C extensions and were too pedantic about some args before, ...) In addition this gives us: - import lock - we load now a lot of the builtin modules lazely - support for printing out which files get loaded in verbose mode - we can now delete a builtin module from sys.modules and import it again (some cpython tests use this) It also made a classobj.__delattr__ problem appear
-
Marius Wachtler authored
-
- 17 Feb, 2016 2 commits
-
-
Kevin Modzelewski authored
Add a ReturnConvention for getattrs that can C++ throw
-
Kevin Modzelewski authored
Otherwise callers have no way of knowing if an exception might occur in the rewritten code, and they'd have to conservatively not rewrite those cases (such as 3-arg getattr). Well, previously getattr() wasn't doing that, so it would rewrite itself correctly for a descriptor that is not throwing now, but would start throwing later (those exceptions would get propagated instead of being caught by getattr).
-
- 15 Feb, 2016 2 commits
-
-
Marius Wachtler authored
Directly use cpythons errors.c file
-
Dong-hee Na authored
-
- 13 Feb, 2016 7 commits
-
-
Kevin Modzelewski authored
switch to cpython traceback implementation
-
Rudi Chen authored
This fixes infinite recursion bugs when C extensions inherit from these built-in types where the C extension allocation function calls the base tp_new, which does an attribute lookup, which finds the C extension allocation function again.
-
Marius Wachtler authored
The performance is the same but it removes quite a lot of unnecessary code and makes hopefully maintaining our codebase a little easier.
-
Marius Wachtler authored
-
Kevin Modzelewski authored
Get libsass working by fixing c++ EH handling
-
Kevin Modzelewski authored
socket fixes
-
Kevin Modzelewski authored
add the _locale and cPickle modules
-
- 12 Feb, 2016 3 commits
-
-
Marius Wachtler authored
the module is much faster than the python implementation But I had to change the code a little bit because of our GC and more importantly because some of our types have different names etc... I also noticed that we failed to to set capifunc.__module__ in a lot of cases which made pickle error
-
Marius Wachtler authored
-
Marius Wachtler authored
The static variables should be fine because this is compiled as shared object which we the GC will automatically scan.
-
- 11 Feb, 2016 3 commits
-
-
Marius Wachtler authored
Make the pycrypto integration test run the testsuite
-
Marius Wachtler authored
-
Marius Wachtler authored
-
- 10 Feb, 2016 2 commits
-
-
Kevin Modzelewski authored
fix misc problems (del nonexisting attr, bool ops, super: support nonexisting attr,...)
-
Marius Wachtler authored
-