This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author georg.brandl
Recipients benjamin.peterson, georg.brandl
Date 2009-02-19.10:31:14
SpamBayes Score 1.0463003e-05
Marked as misclassified No
Message-id <1235039476.22.0.0013234179507.issue5312@psf.upfronthosting.co.za>
In-reply-to
Content
The problem is in os.py. This patch fixes it:

Index: Lib/os.py
===================================================================
--- Lib/os.py   (Revision 69769)
+++ Lib/os.py   (Arbeitskopie)
@@ -372,8 +372,8 @@
                 saved_exc = e
                 saved_tb = tb
     if saved_exc:
-        raise error(saved_exc).with_traceback(saved_tb)
-    raise error(last_exc).with_traceback(tb)
+        raise saved_exc.with_traceback(saved_tb)
+    raise last_exc.with_traceback(tb)


I suspect there may be other instances of this problem (I guess 2to3
converted that).
History
Date User Action Args
2009-02-19 10:31:16georg.brandlsetrecipients: + georg.brandl, benjamin.peterson
2009-02-19 10:31:16georg.brandlsetmessageid: <1235039476.22.0.0013234179507.issue5312@psf.upfronthosting.co.za>
2009-02-19 10:31:14georg.brandllinkissue5312 messages
2009-02-19 10:31:14georg.brandlcreate