Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Python: Bugs

[issue2378] UnboundLocalError when trying to raise exceptions inside execfile

 

 

Python bugs RSS feed   Index | Next | Previous | View Threaded


report at bugs

May 10, 2008, 12:54 PM

Post #1 of 4 (245 views)
Permalink
[issue2378] UnboundLocalError when trying to raise exceptions inside execfile

Pedro Werneck <pjwerneck [at] gmail> added the comment:

Just note the error happens even without the try/except block inside the
'if' statement.

----------
nosy: +werneck

__________________________________
Tracker <report [at] bugs>
<http://bugs.python.org/issue2378>
__________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/list-python-bugs%40lists.gossamer-threads.com


report at bugs

May 11, 2008, 1:21 PM

Post #2 of 4 (233 views)
Permalink
[issue2378] UnboundLocalError when trying to raise exceptions inside execfile [In reply to]

Nikolas Coukouma <atrus [at] atrus> added the comment:

I can't reproduce this with r63075...

----------
nosy: +nikolasco

__________________________________
Tracker <report [at] bugs>
<http://bugs.python.org/issue2378>
__________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/list-python-bugs%40lists.gossamer-threads.com


report at bugs

May 11, 2008, 1:45 PM

Post #3 of 4 (236 views)
Permalink
[issue2378] UnboundLocalError when trying to raise exceptions inside execfile [In reply to]

Pedro Werneck <pjwerneck [at] gmail> added the comment:

I get it with r63075, r63085, on Linux.

__________________________________
Tracker <report [at] bugs>
<http://bugs.python.org/issue2378>
__________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/list-python-bugs%40lists.gossamer-threads.com


report at bugs

May 11, 2008, 2:34 PM

Post #4 of 4 (232 views)
Permalink
[issue2378] UnboundLocalError when trying to raise exceptions inside execfile [In reply to]

Nikolas Coukouma <atrus [at] atrus> added the comment:

Apologies, I didn't run the test case correctly; I do get the error as
reported

__________________________________
Tracker <report [at] bugs>
<http://bugs.python.org/issue2378>
__________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/list-python-bugs%40lists.gossamer-threads.com

Python bugs RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.