- 12 Mar, 2015 5 commits
-
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
We were already doing this for CAPI classes. Only slightly trickier due to bootstrapping issues.
-
Kevin Modzelewski authored
object.__reduce__, __reduce_ex__, and some friends
-
- 11 Mar, 2015 12 commits
-
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
1) because we haven't seen the types multiple times yet, so creating a new function specialization could be wasteful, and 2) the interpreter can't make use of the type specialization. Specializing at the interpreter does let us start counting how many times each specialization is used, and the function entry counts are the only way we have right now of telling that a particular specialization should be moved to a higher tier. But I don't think we should do that using this mechanism.
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
ex: for i in xrange(5): pass else: return 2 "unreachable here!" We didn't prune the "unreachable here" line, which caused some issues. I guess we could also support compiling trivially-unreachable blocks.
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
- Allow unicode arguments to str.encode/str.decode - Detect float parsing errors - 'VAR_WITH_UNDERSCORES'.isupper() should be True - str.rpartition() - Switch to CPythons str.split
-
Kevin Modzelewski authored
(ignore things that are clearly not importable)
-
Kevin Modzelewski authored
Move stat.h include into pyport.h
-
Marius Wachtler authored
-
- 10 Mar, 2015 23 commits
-
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
I think there's a theoretical issue where a GC happens between the assignment to a static slot and the call to PyGC_AddRoot. I don't think this was causing any issues, but I think it possibly could.
-
Kevin Modzelewski authored
Add a few 'long' methods, support tuple sublasses, add uuid test and fix a _struct GC bug
-
Kevin Modzelewski authored
I don't know how well this is followed in practice, but "!" is supposed to just be for irgen-specific names that should not make it to other tiers. The closure and generator variables are more like part of the inter-tier contract, so I think make more sense as "#" names.
-
Marius Wachtler authored
-
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
Add the zipimport, csv and ssl module
-
Marius Wachtler authored
-
Marius Wachtler authored
-
Marius Wachtler authored
-
Marius Wachtler authored
-
Marius Wachtler authored
and let file.next() raise a StopException when on the end To make the csv module work on files.
-
Marius Wachtler authored
-
Marius Wachtler authored
-
Marius Wachtler authored
-
Kevin Modzelewski authored
travis try enabling apt cache
-
Kevin Modzelewski authored
Add bytearray and add a memoryview test
-
Kevin Modzelewski authored
don't let AttributeError exceptions bubble out of softspace. fixes fasta.py
-
Kevin Modzelewski authored
virtualenv fixes
-
Kevin Modzelewski authored
implement PyNumber_Divmod to fix datetime.timedelta(0)
-
Kevin Modzelewski authored
Add unichr()
-
Kevin Modzelewski authored
make tester produce useful help messages
-