- 08 Sep, 2014 5 commits
-
-
Kevin Modzelewski authored
which would eventually cause stack space exhaustion and segfault.
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
disable rewriting
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
reduce(), some float precision issues, string interpolation improvements
-
- 06 Sep, 2014 1 commit
-
-
Travis Hance authored
(more) correct semantics for import
-
- 05 Sep, 2014 9 commits
-
-
Kevin Modzelewski authored
I guess these will always be the same thing which is why it works, but it's still wrong :/
-
Kevin Modzelewski authored
Use call_done_guarding to defer the call to setDoneGuarding until later. As messy as it is, I guess this was the point of the more_guards_after passing tha we had. We'll have some issues with typeCall if the __init__ func wants to set some guards too, since those will happen after __new__ was already called (too late for guards); we'd have to figure out how to get __init__ to do all of its guards before calling __new__. (This applies even if we try to do it in multiple passes, since we wouldn't have a "all guards before any mutations" flow.)
-
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 4 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
-
Travis Hance authored
-
Kevin Modzelewski authored
-