Issue415963

classification
Title: UnboundLocalError not raised on delete
Type: Severity: normal
Components: Core Versions:
Milestone:
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: pedronis Nosy List: bckfnn, pedronis
Priority: normal Keywords: test failure causes

Created on 2001-04-13.18:35:02 by bckfnn, last changed 2001-05-15.18:55:52 by pedronis.

Messages
msg298 (view) Author: Finn Bock (bckfnn) Date: 2001-04-13.18:35:02
A difference between pythons:

Jython 2.1a1 on java1.3.0 (JIT: null)
Type "copyright", "credits" or "license" for more 
information.
>>> def foo( ):
...   del dne
...
>>> foo()
>>>

\Python21\python.exe

Python 2.1b2 (#12, Mar 23 2001, 14:01:30) [MSC 32 bit 
(Intel)] on win32
Type "copyright", "credits" or "license" for more 
information.
>>> def foo():
...   del dne
...
>>> foo()
Traceback (most recent call last):
  File "<stdin>", line 1, in ?
  File "<stdin>", line 2, in foo
UnboundLocalError: local variable 'dne' referenced 
before assignment
>>>
msg299 (view) Author: Samuele Pedroni (pedronis) Date: 2001-05-15.18:55:52
Logged In: YES 
user_id=61408

fixed in current CVS.
History
Date User Action Args
2001-04-13 18:35:02bckfnncreate