]> granicus.if.org Git - python/commit
Now that Defects are Exception subclasses, call super.
authorR David Murray <rdmurray@bitdance.com>
Sat, 9 Jun 2012 02:45:46 +0000 (22:45 -0400)
committerR David Murray <rdmurray@bitdance.com>
Sat, 9 Jun 2012 02:45:46 +0000 (22:45 -0400)
commit6e50b699ac60e5e7c3d92b0f5cbb96da618f3908
tree9a245d3370b6ea7b291d9e4cd31ab6d148385ad9
parent5248a2d3c1969380c678e8d95f24a681fb772911
Now that Defects are Exception subclasses, call super.

The behavior of MessageDefect is legacy behavior.  The chances anyone is
actually using the undocumented 'line' attribute is low, but it costs
little to retain backward compatibility.  Although one of the costs is
having to restore normal exception behavior in HeaderDefect.  On the
other hand, I'll probably add some specialized behavior there later.
Lib/email/errors.py