________________________________ > Date: Tue, 28 May 2013 21:34:36 +0100 > Subject: RE: Python #ifdef > From: fabiosantos...@gmail.com > To: carlosnepomuc...@outlook.com > CC: python-list@python.org > > > On 28 May 2013 21:26, "Carlos Nepomuceno" > <carlosnepomuc...@outlook.com<mailto:carlosnepomuc...@outlook.com>> > wrote: > > Haha! That's it!!! > > > > Just realized how funny this can be: ;) > > > > ### never to be opened ### > > def pandoras_box(v): > > return v/0.0 > > > > if customer_didnt_pay(): > > pandoras_box() > > > > #lol > > 1/0 is, after print, my most common debug statement.
What's the best debugger for Python? Have you tried HAP[1]? [1] http://hapdebugger.sourceforge.net/ -- http://mail.python.org/mailman/listinfo/python-list