Python #ifdef

Carlos Nepomuceno carlosnepomuceno at outlook.com
Tue May 28 16:48:32 EDT 2013


________________________________
> Date: Tue, 28 May 2013 21:34:36 +0100 
> Subject: RE: Python #ifdef 
> From: fabiosantosart at gmail.com 
> To: carlosnepomuceno at outlook.com 
> CC: python-list at python.org 
>  
>  
> On 28 May 2013 21:26, "Carlos Nepomuceno"  
> <carlosnepomuceno at outlook.com<mailto:carlosnepomuceno at 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/ 		 	   		  


More information about the Python-list mailing list