[Python-bugs-list] [Bug #133096] Fatal python error in com_make_closure()

noreply@sourceforge.net noreply@sourceforge.net
Mon, 19 Feb 2001 09:18:36 -0800


Bug #133096, was updated on 2001-Feb-19 09:03
Here is a current snapshot of the bug.

Project: Python
Category: Python Interpreter Core
Status: Open
Resolution: None
Bug Group: None
Priority: 5
Submitted by: glchapman
Assigned to : nobody
Summary: Fatal python error in com_make_closure()

Details: This construct causes python (2.1 alpha 2) to crash:

>>> def test(n):
...     return lambda fact: fact(fact, long(n))
...
lookup 'n' in test 1 -1
Fatal Python error: com_make_closure()

To try to help narrow it down, the following works with no problem:

>>> def test(n):
...     return lambda fact: fact(fact, n)

So it appears that adding the call to the long function is breaking
something.


Follow-Ups:

Date: 2001-Feb-19 09:18
By: mwh

Comment:
Nah, it crashes on linux too.

It doesn't crash if you change almost anything about the test-case, so it's
probably some bizarre kind of dictionary traversal bug again.
-------------------------------------------------------

Date: 2001-Feb-19 09:05
By: glchapman

Comment:
I probably should have added that I'm using the Win32 compiled version
downloaded from SourceForge (operating system is Windows 2000).

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

For detailed info, follow this link:
http://sourceforge.net/bugs/?func=detailbug&bug_id=133096&group_id=5470