[Twisted-Python] Exception's Implicit Public API, and Python 3
Adi Roiban
adi at roiban.ro
Mon Sep 7 23:55:42 MDT 2015
On 6 September 2015 at 06:07, Glyph <glyph at twistedmatrix.com> wrote:
>
> On Sep 5, 2015, at 04:03, Amber Hawkie Brown <hawkowl at atleastfornow.net>
> wrote:
>
snip
> It's Python's API which has changed here, so I don't think that it's
> Twisted's responsibility to replicate this behavior. Subclassing is bad,
> and Python's changes of public attributes to such a core language-feature
> level class as Exception is extra bad, but I think that attempting to
> simultaneously support every version of Python's public API via Twisted
> would be a mistake.
What harmed is done if the twisted.internet.error.ProcessTerminated
exception has an explicit message attribute?
Thanks!
--
Adi Roiban
More information about the Twisted-Python
mailing list