Commits

Author Commit Message Labels Comments Date
Michael Hudson-Doyle
add an "import sys"
Michael Hudson-Doyle
try to import readline if we have it. add __name__ (=='__main__') to interactive namespace
Armin Rigo
exception handling fixed, it now works well (see test_interpreter.py)
Michael Hudson-Doyle
use our own evaluator for class instantiation and bound method calls
Michael Hudson-Doyle
we must import new to get the classobj!
Michael Hudson-Doyle
unbreak keyword arguments
holger krekel
renamed the TestCase class to reflect the name of the function it tests.
Armin Rigo
explicit implementation of 'obj[slice-obj]' that works (for the simple cases) with Python 2.2. This lets you run 'python interpreter.py' in Python 2.2 without requiring Python 2.3. --This line, and those below, will be ignored-- M /users/arigo/python/pypy/svn/src/pypy/objspace/trivial.py
Armin Rigo
Wohoo! 'python interactive.py std' will successfully run a (very) limited set of operations on top of the standard object space! It can now be used to test, say, integer operations (for example, 'import sys; sys.maxint+1' which raises an OverflowError). --This line, and those below, will be ignored-- M /home/arigo/python/pypy/pypy/trunk/src/pypy/interpreter/test/test_pyframe_app.py M /home/arigo/python/pypy/pypy/trunk/src/pypy/interpreter/opcode.py M /home/arigo/python/pypy/pypy/trunk/src/pypy/interpreter/opcode_app.py M /home/arigo/python/pypy/pypy/trunk/src/pypy/interpreter/pyframe_app.py M /home/arigo/python/pypy/pypy/trunk/src/pypy/interpreter/pyframe.py M /home/arigo/pyt…
Armin Rigo
Ooops, forgot to remove the XXXXXXXXX for my tests. Now interpreter.py works great!
Armin Rigo
more ground work. interactive.py worked quite fine at some point but is now broken again for a reason not immediately obvious to me.
holger krekel
moved sprint document to doc dir.
Jens-Uwe Mager
Move the pypy trunk into its own top level directory so the path names stay constant.
  1. Prev
  2. Next