Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #46347
| References | (3 earlier) <mailman.2320.1369771667.3114.python-list@python.org> <ko334b$83c$1@reader1.panix.com> <BLU176-W163A3FC339C409E765BA5DD7970@phx.gbl> <CAA=1kxS04Rtr_guJ_HWBOZMaK76capatJ4L2Xdjh0fkjGo_4Gw@mail.gmail.com> <BLU176-W31553A9641A2CD141B167D7970@phx.gbl> |
|---|---|
| Date | 2013-05-28 23:51 +0100 |
| Subject | RE: Python #ifdef |
| From | Fábio Santos <fabiosantosart@gmail.com> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.2332.1369781472.3114.python-list@python.org> (permalink) |
[Multipart message — attachments visible in raw view] - view raw
On 28 May 2013 21:53, "Carlos Nepomuceno" <carlosnepomuceno@outlook.com> wrote: > > ________________________________ > > Date: Tue, 28 May 2013 21:34:36 +0100 > > Subject: RE: Python #ifdef > > From: fabiosantosart@gmail.com > > To: carlosnepomuceno@outlook.com > > CC: python-list@python.org > > > > > > On 28 May 2013 21:26, "Carlos Nepomuceno" > > <carlosnepomuceno@outlook.com<mailto:carlosnepomuceno@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/ Never saw that, but the remote debugging looks like it adds some flexibility. That said, I don't often use a debugger. When I do, it's pdb. Pdb is not bad at all, and it comes in the stdlib, which makes it readily available in a virtualenv. It's impractical to set more than a breakpoint, but then again I only use a breakpoint at a time.
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Re: Python #ifdef Joel Goldstick <joel.goldstick@gmail.com> - 2013-05-28 15:49 -0400
Re: Python #ifdef Neil Cerutti <neilc@norwich.edu> - 2013-05-28 20:00 +0000
RE: Python #ifdef Carlos Nepomuceno <carlosnepomuceno@outlook.com> - 2013-05-28 23:07 +0300
Re: Python #ifdef Grant Edwards <invalid@invalid.invalid> - 2013-05-28 20:12 +0000
RE: Python #ifdef Carlos Nepomuceno <carlosnepomuceno@outlook.com> - 2013-05-28 23:22 +0300
Re: Python #ifdef Grant Edwards <invalid@invalid.invalid> - 2013-05-28 20:42 +0000
RE: Python #ifdef Carlos Nepomuceno <carlosnepomuceno@outlook.com> - 2013-05-28 23:54 +0300
Re: Python #ifdef Grant Edwards <invalid@invalid.invalid> - 2013-05-29 14:45 +0000
RE: Python #ifdef Fábio Santos <fabiosantosart@gmail.com> - 2013-05-28 21:34 +0100
RE: Python #ifdef Carlos Nepomuceno <carlosnepomuceno@outlook.com> - 2013-05-28 23:48 +0300
RE: Python #ifdef Fábio Santos <fabiosantosart@gmail.com> - 2013-05-28 23:51 +0100
RE: Python #ifdef Benjamin Kaplan <benjamin.kaplan@case.edu> - 2013-05-28 13:14 -0700
csiph-web