Message278853
Updated patch uses C API added in issue28410. It preserves the traceback of original exception:
Traceback (most recent call last):
File "issue28214.py", line 3, in __set_name__
1/0
ZeroDivisionError: division by zero
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "issue28214.py", line 5, in <module>
class TheoreticallyCouldWork:
RuntimeError: Error calling __set_name__ on 'FaultyImplementation' instance 'attr' in 'TheoreticallyCouldWork' |
|
Date |
User |
Action |
Args |
2016-10-18 11:19:36 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, ncoghlan, python-dev, eric.snow, Martin.Teichmann, Tim.Graham, Martin Teichmann |
2016-10-18 11:19:36 | serhiy.storchaka | set | messageid: <1476789576.0.0.640995841121.issue28214@psf.upfronthosting.co.za> |
2016-10-18 11:19:35 | serhiy.storchaka | link | issue28214 messages |
2016-10-18 11:19:35 | serhiy.storchaka | create | |
|