29 Mar
2011
29 Mar
'11
4:02 a.m.
On Tue, Mar 29, 2011 at 3:18 AM, Georg Brandl
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). Cheers, Nick. -- Nick Coghlan | ncoghlan@gmail.com | Brisbane, Australia