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 vstinner
Recipients martin.panter, pitrou, serhiy.storchaka, vstinner
Date 2014-10-22.12:16:03
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <CAMpsgwYCnvpEvuEQzo14O1q8=F4hvRwZ4oJEeArTnW3iXppRCg@mail.gmail.com>
In-reply-to <1413979700.2.0.331342885449.issue22599@psf.upfronthosting.co.za>
Content
> The patch looks fragile to me: who knows whether other similar problems can appear in other situations?

Maybe we can always ignore non fatal errors when calling linecache
from print_exception? Having the Python source code in the traceback
is better, but it's easy to get it because the filename and line
number is always present.

Maybe the linecache module can provide a better exception than the
current AttributeError?
History
Date User Action Args
2014-10-22 12:16:03vstinnersetrecipients: + vstinner, pitrou, martin.panter, serhiy.storchaka
2014-10-22 12:16:03vstinnerlinkissue22599 messages
2014-10-22 12:16:03vstinnercreate