[Python-bugs-list] [ python-Bugs-228688 ] Tools/compiler can't compile Lib/*.py

noreply@sourceforge.net noreply@sourceforge.net
Fri, 13 Apr 2001 07:32:03 -0700


Bugs item #228688, was updated on 2001-01-13 12:07
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=228688&group_id=5470

Category: demos and tools
Group: None
>Status: Closed
Priority: 5
Submitted By: Neil Schemenauer (nascheme)
Assigned to: Jeremy Hylton (jhylton)
Summary: Tools/compiler can't compile Lib/*.py

Initial Comment:
Subject says it all.


----------------------------------------------------------------------

>Comment By: Jeremy Hylton (jhylton)
Date: 2001-04-13 07:32

Message:
Logged In: YES 
user_id=31392

It works now.


----------------------------------------------------------------------

Comment By: Neil Schemenauer (nascheme)
Date: 2001-01-13 12:34

Message:
This (incorrect?) patch to transformer.py seems to help:

-    def com_NEWLINE(self):
+    def com_NEWLINE(self, nodelist):

but the resulting bytecode kills the interpreter:

(gdb) run Lib/test/regrtest.py
Starting program: /home/nas/Python/py/python Lib/test/regrtest.py
test_grammar
test_opcodes
test_operations
test_builtin
test_exceptions
test_types
test_MimeWriter
test_StringIO

Program received signal SIGSEGV, Segmentation fault.
0x805b8d3 in eval_code2 (co=0x8255f08, globals=0x8258e44, locals=0x0, 
    args=0x81ffd64, argcount=1, kws=0x81ffd68, kwcount=0, defs=0x0, defcount=0)
    at ceval.c:2079
2079                    Py_XDECREF(v);
(gdb) l
2074            
2075            /* Pop remaining stack entries */
2076            
2077            while (!EMPTY()) {
2078                    v = POP();
2079                    Py_XDECREF(v);
2080            }
2081            
2082            if (why != WHY_RETURN)
2083                    retval = NULL;
(gdb) p *v
Cannot access memory at address 0x22.


----------------------------------------------------------------------

You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=228688&group_id=5470