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: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.037 X-Spam-Evidence: '*H*': 0.93; '*S*': 0.00; 'win32': 0.03; 'happen.': 0.09; 'python': 0.11; '2.7.2': 0.16; '23,': 0.16; 'bug:': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'wrote:': 0.18; 'bit': 0.19; '>>>': 0.22; 'header:In-Reply-To:1': 0.27; 'appear': 0.29; 'url:bugs': 0.29; 'am,': 0.29; 'related': 0.29; "doesn't": 0.30; 'message-id:@mail.gmail.com': 0.30; "i'm": 0.30; '(on': 0.31; 'bug?': 0.31; 'url:python': 0.33; 'running': 0.33; 'maybe': 0.34; 'received:209.85': 0.35; 'received:209.85.220': 0.35; 'received:google.com': 0.35; 'version': 0.36; 'subject:?': 0.36; 'url:org': 0.36; 'received:209': 0.37; 'to:addr:python-list': 0.38; 'does': 0.39; 'to:addr:python.org': 0.39; 'skip:p 20': 0.39; 'more': 0.64; "'testing'": 0.84; '2013,': 0.91; 'careful': 0.91; '2013': 0.98 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:content-type; bh=BFgYMkddPHi5eQai6pUEMXydpRsMwvfn9O2eVI08kIM=; b=maZqPdmKnQY3RtSd1WyWqc5Kdb2VDtGSOykcVzMgzKMZPwuCSdSSu4jurGipW6c5pg emuUUGWHpDHwyECcrfBjeL+7cCfo1JhuIjwsEczLoCjVnYg7LvzmzUDdEHAonsNi3jIL 41JO4j0TH+LaTtPQq+5It/pUsdUuDi8C/mI22uhdi+kfw/YyvuF21fiytS2c/fd+Sofv ijCWPqmD0VcRzAXyrhAoVcxXIk2AN9DGruR89UbaXkswi3ITZc/QJjPgnDYUtniCpfm0 mUSP4hl0i11aI98x0Dfj5PBGDTUDHN9f64FS2r/76vR51GSs9I7dqUBDi08e/TAIUrY5 1/Rw== MIME-Version: 1.0 X-Received: by 10.58.34.12 with SMTP id v12mr20454111vei.55.1366675467265; Mon, 22 Apr 2013 17:04:27 -0700 (PDT) In-Reply-To: <603c9915-54a8-415e-a826-e3e73c5dcab3@googlegroups.com> References: <5174900e$0$29977$c3e8da3$5496439d@news.astraweb.com> <603c9915-54a8-415e-a826-e3e73c5dcab3@googlegroups.com> Date: Tue, 23 Apr 2013 10:04:27 +1000 Subject: Re: Weird behaviour? From: Chris Angelico To: python-list@python.org 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: 19 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1366675469 news.xs4all.nl 2247 [2001:888:2000:d::a6]:53014 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:44125 On Tue, Apr 23, 2013 at 9:06 AM, wrote: > On Tuesday, April 23, 2013 12:29:57 AM UTC+10, nn wrote: > >> Maybe it is related to this bug? >> >> http://bugs.python.org/issue11272 > > I'm running Python 2.7.2 (on Windows) and that version doesn't appear to have that bug: > > Python 2.7.2 (default, Apr 23 2013, 11:49:52) [MSC v.1500 32 bit (Intel)] on win32 > Type "help", "copyright", "credits" or "license" for more information. > >>> print(repr(input())) > "testing" > 'testing' > >>> Careful there; go with raw_input() on Py2. And then it does happen. ChrisA