Message298
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
>>> |
|
| Date |
User |
Action |
Args |
| 2008-02-20 17:16:49 | admin | link | issue415963 messages |
| 2008-02-20 17:16:49 | admin | create | |
|