Message146206
I like the class method idea, but not the no_context name. Would without_context be too long?
I don’t dislike raise MyError from None, but a method will be more easy to search and will help people reading code and discovering this unknown idiom. I think it’s also easier to implement than a syntax change. |
|
Date |
User |
Action |
Args |
2011-10-23 00:29:39 | eric.araujo | set | recipients:
+ eric.araujo, rhettinger, ncoghlan, pitrou, draghuram, aronacher, ezio.melotti, mrabarnett, steven.daprano, poke, ethan.furman |
2011-10-23 00:29:38 | eric.araujo | set | messageid: <1319329778.84.0.289300128807.issue6210@psf.upfronthosting.co.za> |
2011-10-23 00:29:38 | eric.araujo | link | issue6210 messages |
2011-10-23 00:29:38 | eric.araujo | create | |
|