Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #46347
| Path | csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.freenet.ag!news2.euro.net!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <fabiosantosart@gmail.com> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.005 |
| X-Spam-Evidence | '*H*': 0.99; '*S*': 0.00; 'url:sourceforge': 0.03; 'subject:Python': 0.06; 'debug': 0.07; 'debugging': 0.07; 'debugger': 0.09; 'cc:addr:python-list': 0.11; 'python': 0.11; 'def': 0.12; '###': 0.16; '#ifdef': 0.16; 'be:': 0.16; 'breakpoint': 0.16; 'debugger.': 0.16; 'impractical': 0.16; 'pdb': 0.16; 'statement.': 0.16; 'virtualenv.': 0.16; 'do,': 0.16; 'wrote:': 0.18; 'all,': 0.19; 'python?': 0.22; 'cc:addr:python.org': 0.22; 'adds': 0.24; 'looks': 0.24; 'cc:2**0': 0.24; 'cc:no real name:2**0': 0.24; '>': 0.26; 'header:In-Reply-To:1': 0.27; 'tried': 0.27; '[1]': 0.29; 'said,': 0.30; 'message-id:@mail.gmail.com': 0.30; 'skip:& 70': 0.31; 'date:': 0.34; 'common': 0.35; 'but': 0.35; 'received:google.com': 0.35; '+0100': 0.36; 'email addr:python.org': 0.37; 'remote': 0.38; 'that,': 0.38; 'skip:_ 30': 0.39; 'subject:': 0.39; 'bad': 0.39; 'how': 0.40; 'most': 0.60; 'email addr:gmail.com': 0.63; 're:': 0.63; 'skip:n 10': 0.64; 'more': 0.64; 'email name:python- list': 0.65; 'realized': 0.68; 'funny': 0.74; 'saw': 0.77; 'haha!': 0.84; 'subject: #': 0.96; '2013': 0.98 |
| DKIM-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=6Xko4PbTnrp1OykXDKHzYD4tVqOIYq3RNhjWH/em6Ao=; b=YgVKZEcal3UB5yWRlg0ix8Sc5sFPXIBKT+POhLC8xyk2GbQLXwngphNuH2ZqgaQX6X WwDIoyBQ6LamFZfnGxAH/c8zzdc1g4CTljhFUHe+qkCI5NxQmGJLHg8ay4zpfXePqXbw 9t7HrZdGSibNsew0XKmI4SnbLI14skrXXkcKCx5998R2xu2wRuWAuaH6yPcWHpyGqCNT rQscWpeq1sZ0+S9BYPVQ6/XvrmGmvqVX65OdJgwTt2Fy5Y+Bzv799OfnoJF/kSBbzFic PMjr//jZT8QpsI5Fv50laju/caemEYWI13KahdVzNJCTW6ngoJ/AvXrYIOVKoozXw4fm oqMA== |
| MIME-Version | 1.0 |
| X-Received | by 10.49.81.193 with SMTP id c1mr16296005qey.56.1369781468514; Tue, 28 May 2013 15:51:08 -0700 (PDT) |
| In-Reply-To | <BLU176-W31553A9641A2CD141B167D7970@phx.gbl> |
| References | <BLU176-W12FAFEA3C7AFD687855E04D7970@phx.gbl> <mailman.2318.1369770916.3114.python-list@python.org> <b0kgm4F3gs4U1@mid.individual.net> <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 | Tue, 28 May 2013 23:51:08 +0100 |
| Subject | RE: Python #ifdef |
| From | Fábio Santos <fabiosantosart@gmail.com> |
| To | Carlos Nepomuceno <carlosnepomuceno@outlook.com> |
| Content-Type | multipart/alternative; boundary=047d7b5dbe1ed9ed1b04ddcf198a |
| Cc | python-list@python.org |
| X-BeenThere | python-list@python.org |
| X-Mailman-Version | 2.1.15 |
| Precedence | list |
| List-Id | General discussion list for the Python programming language <python-list.python.org> |
| List-Unsubscribe | <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe> |
| List-Archive | <http://mail.python.org/pipermail/python-list/> |
| List-Post | <mailto:python-list@python.org> |
| List-Help | <mailto:python-list-request@python.org?subject=help> |
| List-Subscribe | <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.2332.1369781472.3114.python-list@python.org> (permalink) |
| Lines | 94 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1369781472 news.xs4all.nl 15903 [2001:888:2000:d::a6]:33987 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:46347 |
Show key headers only | View raw
[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