[Jython-checkins] jython: these are now done

philip.jenvey jython-checkins at python.org
Fri Aug 3 22:01:37 CEST 2012


http://hg.python.org/jython/rev/825a988dfa67
changeset:   6822:825a988dfa67
user:        Philip Jenvey <pjenvey at underboss.org>
date:        Fri Aug 03 13:01:02 2012 -0700
summary:
  these are now done

files:
  src/org/python/core/PyBytecode.java |  4 +---
  1 files changed, 1 insertions(+), 3 deletions(-)


diff --git a/src/org/python/core/PyBytecode.java b/src/org/python/core/PyBytecode.java
--- a/src/org/python/core/PyBytecode.java
+++ b/src/org/python/core/PyBytecode.java
@@ -43,7 +43,7 @@
     public final byte[] co_code; // widened to char to avoid signed byte issues
     public final PyObject[] co_consts;
     public final String[] co_names;
-    public final int co_stacksize; // XXX - use to convert PyStack to use PyObject[] instead of ArrayList<PyObject>
+    public final int co_stacksize;
     public final byte[] co_lnotab;
     private final static int CALL_FLAG_VAR = 1;
     private final static int CALL_FLAG_KW = 2;
@@ -1359,8 +1359,6 @@
         }
     }
 
-    // XXX - perhaps add support for max stack size (presumably from co_stacksize)
-    // and capacity hints
     private static class PyStack {
 
         final PyObject[] stack;

-- 
Repository URL: http://hg.python.org/jython


More information about the Jython-checkins mailing list