- 05 Sep, 2014 7 commits
-
-
Kevin Modzelewski authored
(which has flipped value) should hopefully be more clear what this is for -- at least I hope that's what this is for.
-
Kevin Modzelewski authored
Also fix a GCC warning... not sure if this is supposed to be better though.
-
Kevin Modzelewski authored
With a quick modification to get around the "import os.path" issue, we are able to run go.py!
-
Kevin Modzelewski authored
Not sure if it's better or not to have the "unicode" name accessible, given that we don't support much of its functionality at all. For instance, sre_compile detects if "unicode" is available, and if so, calls `type(unicode(""))` which will fail for us.
-
Kevin Modzelewski authored
Conflicts: src/runtime/types.cpp
-
Kevin Modzelewski authored
random_test.py is running into the same issue as _random_test2.py, of the rewrites failing. Will deal with that next.
-
Kevin Modzelewski authored
Fix a memory corruption in posix.urandom
-
- 04 Sep, 2014 6 commits
-
-
Marius Wachtler authored
this let's us import random
-
Marius Wachtler authored
In addition fix a valgrind uninitialized memory use warning and close the opened file descriptor in posix.urandom
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
Has been failing with weird segfaults; hunting them down
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
-
- 03 Sep, 2014 3 commits
-
-
Marius Wachtler authored
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
-
- 02 Sep, 2014 1 commit
-
-
Kevin Modzelewski authored
Had to merge in some recent changes - compileAndRunModule -> createAndRunModule - new "allow-warning" directive syntax in tests
-
- 30 Aug, 2014 1 commit
-
-
Kevin Modzelewski authored
Also had to fix some bugs with codegen function types -- not sure how those snuck through
-
- 29 Aug, 2014 10 commits
-
-
Kevin Modzelewski authored
It doesn't create a new module at all -- it directly uses the existing one. Fixing that let us clean up some of the module handling code.
-
Kevin Modzelewski authored
Caught a couple benign places and one potentially-real issue.
-
Kevin Modzelewski authored
Also fix a bug where we were rewriting all member descriptors as OBJECT types (ie just load the offset), which is what was making hashlib crash (the first thing that uses non-OBJECT member types).
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
(as long as you get a pointer to it in the right way)
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
1-arg version of exception constructors str*bool -- who would have thought
-
Kevin Modzelewski authored
- was missing comparison methods on 'long', and we were happily using the default comparison rules - isinstance for oldstyle classes - int * str (who does it that direction??) Performance is abyssmal: 2s for us vs 30ms for CPython
-
Kevin Modzelewski authored
In theory it's simple: we just run cheaper type analysis on lower tiers. In practice it's more complicated, since the different tiers have to cooperate on the types that they send back and forth. I fixed up some of the code that didn't expect to receive a type worse than what it knows to be true. Ran into an issue where we have to treat potentially-undefined symbols specially, since we can't do a class check on them because they probably point to garbage. Stopped there for now, since this section of the code is horrible and we need to rewrite the tiering framework anyway.
-
- 28 Aug, 2014 7 commits
-
-
Kevin Modzelewski authored
- Use the right unpacking protocol (ie don't check __len__, just try to iterate) - Handle unpacking exceptions appropriately - Expand the targets of assigns correctly (think: f().x = 1) -- this was not just for tuples but came up here first; this also was broken: [0 for i in xrange(5)][0] = 1 (silly but legal)
-
Kevin Modzelewski authored
fixed exception bases and added a few exception classes
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
-
- 27 Aug, 2014 5 commits
-
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
Not going to be very performant -- hopefully that won't matter.
-
Kevin Modzelewski authored
basestring
-
Kevin Modzelewski authored
Complex2
-