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 r.david.murray
Recipients docs@python, r.david.murray, xiang.zhang
Date 2015-10-12.15:57:28
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1444665448.77.0.076000369867.issue25381@psf.upfronthosting.co.za>
In-reply-to
Content
Yes.  The second element of the sys.exc_info result is the exception instance, not the argument to the exception constructor.  The old raise syntax allowed you to specify the exception instance as the second argument to raise, but if you specified a string it converted it to an exception instance using the first argument as the constructor to call.  So, the 2.7 docs aren't entirely accurate, since it isn't the second argument to raise that is stored, but the object that results from raise *processing* its second argument.
History
Date User Action Args
2015-10-12 15:57:28r.david.murraysetrecipients: + r.david.murray, docs@python, xiang.zhang
2015-10-12 15:57:28r.david.murraysetmessageid: <1444665448.77.0.076000369867.issue25381@psf.upfronthosting.co.za>
2015-10-12 15:57:28r.david.murraylinkissue25381 messages
2015-10-12 15:57:28r.david.murraycreate