Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!xlned.com!feeder7.xlned.com!newsfeed.xs4all.nl!newsfeed3.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.013 X-Spam-Evidence: '*H*': 0.98; '*S*': 0.00; 'subject:Python': 0.06; 'problem:': 0.07; 'subject:bug': 0.07; 'subject:skip:b 10': 0.07; 'windows': 0.15; '(pdb)': 0.16; 'kern': 0.16; 'wrote:': 0.18; 'thu,': 0.19; 'second': 0.26; 'header:In-Reply-To:1': 0.27; 'robert': 0.30; 'message-id:@mail.gmail.com': 0.30; 'occurs': 0.31; 'problem': 0.35; 'received:google.com': 0.35; 'to:addr :python-list': 0.38; 'pm,': 0.38; 'to:addr:python.org': 0.39; 'skip:c 50': 0.60; 'first': 0.61; '2013': 0.98 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:mime-version:in-reply-to:references:from:date:message-id :subject:to:content-type; bh=MWXfglLE4ZB0j+XEjmTAtuMvGIo9ias4ijbwXEbs9lw=; b=YSwmixePpLyBPjAr/pkcX9rKOZ1cCMcrY//w6yjN1j+v6Lp37peExgPi2CGdJIc+GF qNpOBiFVDzzTXO0JM61ZPyf0DMOINkkXefK9eDINcOaS3Dr/Dr8zLtRkTF3EWocWlh8f ZQ2EFVB1UOKejEQr3nhGc9J3bfsCPmRAq0rAwosi5WHKg8TnohKo+FLRE3jyPL8L63bC EcIY8u7o+njMPJwRB1aNiYwmn5mZrHGeQpitvusk5VA96A0m0xg78ri3M5wa96zlavRM g4YtkNFQcSLKObNYexI4Q+iHC6JMt+fBpHCuSmW99AKb66Rd5dRY8FmZkWPixUYG59VH fe2g== X-Received: by 10.66.248.227 with SMTP id yp3mr11123847pac.158.1365706596677; Thu, 11 Apr 2013 11:56:36 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: References: From: Ian Kelly Date: Thu, 11 Apr 2013 12:55:56 -0600 Subject: Re: Python pdb bug, followed by bug in bugs.python.org To: Python Content-Type: text/plain; charset=ISO-8859-1 X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 26 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1365706605 news.xs4all.nl 2598 [2001:888:2000:d::a6]:59489 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:43399 On Thu, Apr 11, 2013 at 12:42 PM, Robert Kern wrote: > Use `where` to see the problem: Ah. Then I can verify that the problem occurs in Windows as well: C:\Users\ikelly\Desktop>c:\python33\python python_bug.py first call --Return-- > c:\users\ikelly\desktop\python_bug.py(7)foo()->None -> pdb.set_trace() (Pdb) w c:\users\ikelly\desktop\python_bug.py(9)() -> foo('first call') > c:\users\ikelly\desktop\python_bug.py(7)foo()->None -> pdb.set_trace() (Pdb) c second call --Return-- > c:\users\ikelly\desktop\python_bug.py(7)foo()->None -> pdb.set_trace() (Pdb) w c:\users\ikelly\desktop\python_bug.py(9)() -> foo('first call') > c:\users\ikelly\desktop\python_bug.py(7)foo()->None -> pdb.set_trace() (Pdb) c