New submission from Mathias Svensson <frea...@freaken.dk>:

Current behavior:
In the very simple attached example an existing variable-name is used as the 
target in the except-part of a try-statement. The existing variable is deleted 
if an exception is throw.

Excepted behavior:
The only reasonable behaviors are keeping the original variable or keeping the 
exception. The current behavior is very unintuitive.

----------
components: Interpreter Core
files: test.py
messages: 135845
nosy: Mathias.Svensson
priority: normal
severity: normal
status: open
title: unexpected behavior with exception variable
type: behavior
versions: Python 3.2
Added file: http://bugs.python.org/file21984/test.py

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue12064>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to