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 serhiy.storchaka
Recipients Martin Teichmann, Martin.Teichmann, Tim.Graham, eric.snow, ncoghlan, python-dev, serhiy.storchaka
Date 2016-10-18.11:19:35
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
Updated patch uses C API added in issue28410. It preserves the traceback of original exception:

Traceback (most recent call last):
  File "", line 3, in __set_name__
ZeroDivisionError: division by zero

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "", 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:36serhiy.storchakasetrecipients: + serhiy.storchaka, ncoghlan, python-dev, eric.snow, Martin.Teichmann, Tim.Graham, Martin Teichmann
2016-10-18 11:19:36serhiy.storchakasetmessageid: <>
2016-10-18 11:19:35serhiy.storchakalinkissue28214 messages
2016-10-18 11:19:35serhiy.storchakacreate