- 06 Mar, 2015 19 commits
-
-
Kevin Modzelewski authored
Add file.isatty sys.exit(None) -> exit code 0 non-dict kwargs hash(function) CPython's implementation of PyCallIter
-
Kevin Modzelewski authored
add a json test and get it running
-
Kevin Modzelewski authored
Bunch of small missing features, but with these and some small workarounds inside django, we can run django-admin to the point that it gives us the help message and then quits.
-
Kevin Modzelewski authored
This is needed for defaultdict
-
Kevin Modzelewski authored
Also make some of the functions work correctly with list subclasses.
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
We used to just ignore these, but we can call these from the proxy_to_tp_traverse and proxy_to_tp_clear adapters.
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
We already did proper index handling in setitem but hadn't ported it to delitem; now delitem just delegates to setitem.
-
Kevin Modzelewski authored
Also add instance.__contains__
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
The organization is kind of hacky since we have to copy str_rsplit into stringobject.c so it can be use stringlib, but we want to reference it from str.cpp.
-
Chris Toshok authored
there are a few areas where we fail (decimal usage, and formatting complex numbers) so those specific lines are commented out. The changes in src were necessary to get the test to run to completion with -n. Finally, we skip the test when -x is present because pypa doesn't parse unicode literals correctly.
-
- 05 Mar, 2015 21 commits
-
-
Chris Toshok authored
add support for relative imports, and bring our import api closer to cpython
-
Chris Toshok authored
copy _PyInt_Format implementation from cpython
-
Chris Toshok authored
add an explanatory comment about why we set level = -1 if we're missing `from __future__ import absolute_import`
-
Chris Toshok authored
-
Chris Toshok authored
-
Kevin Modzelewski authored
Add the io/_io Module and make import gzip work
-
Kevin Modzelewski authored
Treat unicode names as equivalent to their ascii-encoded str version, and any non-ascii unicode name as a TypeError. My hope is that this covers the common cases but doesn't cause bugs. You can see that we're doing this by putting unicode in and getting a str out, but I hope that this is ok.
-
Marius Wachtler authored
-
Marius Wachtler authored
-
Marius Wachtler authored
This adds quite a few C API functions and I had to introduce atleast two temporary hacks: - do not depend on the ABC module which uses weak references - use a dummy PyErr_CheckSignals() function
-
Marius Wachtler authored
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
in regards to how the metaclass gets picked.
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
'buffer' is currently just an empty class.
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
add weakref support for user defined subtypes (with inheritance) and 'type' instances
-