Message 323165 - Python tracker

Message323165

Author jdemeyer
Recipients brett.cannon, eric.snow, erik.bray, jdemeyer, ncoghlan, paul.moore, petr.viktorin, scoder, sth
Date 2018-08-05.17:27:18
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1533490038.64.0.56676864532.issue32797@psf.upfronthosting.co.za>
In-reply-to
Content
> So, where is the filename coming from?

Python 3.7.0 (default, Jul 23 2018, 10:07:21)
[GCC 5.4.0 20160609] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> from sage.all import Integer
>>> try:
...     Integer(1)/Integer(0)
... except Exception as e:
...     E = e
>>> E.__traceback__.tb_next.tb_frame.f_code.co_filename
'sage/structure/element.pyx'

So this is the correct filename, relative to site-packages.
History
Date User Action Args
2018-08-05 17:27:18jdemeyersetrecipients: + jdemeyer, brett.cannon, paul.moore, ncoghlan, scoder, petr.viktorin, erik.bray, eric.snow, sth
2018-08-05 17:27:18jdemeyersetmessageid: <1533490038.64.0.56676864532.issue32797@psf.upfronthosting.co.za>
2018-08-05 17:27:18jdemeyerlinkissue32797 messages
2018-08-05 17:27:18jdemeyercreate