Issue1252

classification
Title: StackOverflow when name referenced before global declaration and run as a script
Type: crash Severity: normal
Components: Core Versions: 2.5b1
Milestone:
process
Status: closed Resolution: works for me
Dependencies: Superseder:
Assigned To: Nosy List: jha, zyasoft
Priority: Keywords:

Created on 2009-01-27.12:32:01 by jha, last changed 2009-03-12.06:57:16 by zyasoft.

Files
File name Uploaded Description Edit Remove
global_sof.py jha, 2009-01-27.12:32:01
Messages
msg4088 (view) Author: (jha) Date: 2009-01-27.12:32:01
Running the attached script leads to a stack overflow. Doesn't seem to
be reproducible in interactive mode, in the interactive interpreter.

~> java -jar jython.jar /tmp/global_sof.py
RuntimeError: maximum recursion depth exceeded
msg4226 (view) Author: Jim Baker (zyasoft) Date: 2009-03-12.06:57:15
On Jython 2.5b3:
SyntaxWarning: name 'n' declared global after use
History
Date User Action Args
2009-03-12 06:57:16zyasoftsetstatus: open -> closed
resolution: works for me
messages: + msg4226
nosy: + zyasoft
2009-01-27 12:32:01jhacreate