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 ethan.furman
Recipients Arfrever, Tyler.Crompton, ethan.furman, ncoghlan
Date 2012-06-27.22:20:11
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1340835612.57.0.306236807074.issue15209@psf.upfronthosting.co.za>
In-reply-to
Content
Patch attached.  It basically says:

8<--------------------------------------------------------------------
Note:  Because using :keyword:`from` can throw away valuable debugging information, its use with a bare :keyword:`raise` is not supported. If you are trying to do this:

    try:
        some_module.not_here()
    except NameError:
        try:
            backup_module.not_here()
        except NameError:
            raise from None     # suppress context in NameError

do this instead:

    try:
        some_module.not_here()
    except NameError:
        try:
            backup_module.not_here()
        except NameError as exc:
            raise exc from None     # suppress context in NameError
8<--------------------------------------------------------------------
History
Date User Action Args
2012-06-27 22:20:12ethan.furmansetrecipients: + ethan.furman, ncoghlan, Arfrever, Tyler.Crompton
2012-06-27 22:20:12ethan.furmansetmessageid: <1340835612.57.0.306236807074.issue15209@psf.upfronthosting.co.za>
2012-06-27 22:20:12ethan.furmanlinkissue15209 messages
2012-06-27 22:20:11ethan.furmancreate