[Python-ideas] namedtuple() subclasses again
ncoghlan at gmail.com
Tue Mar 29 00:32:24 CEST 2011
On Tue, Mar 29, 2011 at 3:18 AM, Georg Brandl <g.brandl at gmx.net> wrote:
> On 27.03.2011 23:40, Raymond Hettinger wrote:
>> Python development is currently suffering from excess enthusiasm with
>> advanced code manipulations occurring upon instantiation -- metaclasses,
>> decorators, and context managers are fun to play with, but no fun to debug or
>> trace through when something goes wrong.
> Not sure how context managers would fit in that category though.
Badly written __exit__ methods can definitely make debugging failures
interesting (although I believe 3.x exception chaining helps a lot
with avoiding that).
Nick Coghlan | ncoghlan at gmail.com | Brisbane, Australia
More information about the Python-ideas