Message289258
Sometimes after catching some exception the new exception of more appropriate type and with more appropriate message is raised. The initial exception often is not relevant to the final exception, it is raised only due to using EAFP rather than LBYL. It should be excluded from the traceback by using "raise from None". This idiom is often used. Following PR makes it be used in more cases. |
|
Date |
User |
Action |
Args |
2017-03-08 21:14:36 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka |
2017-03-08 21:14:36 | serhiy.storchaka | set | messageid: <1489007676.29.0.138385616596.issue29762@psf.upfronthosting.co.za> |
2017-03-08 21:14:36 | serhiy.storchaka | link | issue29762 messages |
2017-03-08 21:14:36 | serhiy.storchaka | create | |
|