Path: csiph.com!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!newsreader4.netcologne.de!news.netcologne.de!newsfeed.freenet.ag!news2.euro.net!newsfeed.xs4all.nl!newsfeed3.news.xs4all.nl!xs4all!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.000 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'python.': 0.02; 'python,': 0.02; 'subject:Python': 0.06; '64-bit': 0.07; 'session.': 0.07; 'bash': 0.09; 'option,': 0.09; 'received:209.85.219': 0.09; 'python': 0.11; 'bug': 0.12; 'gui': 0.12; 'assume': 0.14; '2.7': 0.14; 'windows': 0.15; '(both': 0.16; 'cmd': 0.16; 'ssh': 0.16; 'subject:under': 0.16; 'windows?': 0.16; '\xc2\xa0i': 0.16; 'wrote:': 0.18; 'do.': 0.18; 'machine': 0.22; 'shell': 0.22; 'mon,': 0.24; "i've": 0.25; 'skip:" 20': 0.27; 'header:In-Reply- To:1': 0.27; 'installed': 0.27; 'tried': 0.27; 'am,': 0.29; "doesn't": 0.30; 'message-id:@mail.gmail.com': 0.30; "i'm": 0.30; 'fine,': 0.31; 'run': 0.32; 'another': 0.32; 'running': 0.33; 'skip:& 30': 0.33; "can't": 0.35; 'received:209.85': 0.35; 'but': 0.35; 'received:google.com': 0.35; 'version': 0.36; 'received:209': 0.37; 'skip:& 10': 0.38; 'to:addr:python-list': 0.38; 'does': 0.39; 'to:addr:python.org': 0.39; 'unable': 0.39; 'either': 0.39; 'skip:\xc2 10': 0.60; "you're": 0.61; 'pro': 0.69; 'cygwin': 0.84; 'difference.': 0.84; 'edwards': 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=mrYL7r771cE8XtxUZWF+uAfsl4RporEcCQwVXeMpxCk=; b=hQivTDvi2s3hc9w8UMmfFh+pIa64oqJQ5GZ5ASPsLbFUeEJVX5NCkCUQ4IueR+cI4s ygobwdLDLioWcSAeNBAf2yeVkR+31AlSk1Py4skkRCgbagsQsyHxE2BGh25fH2Tx5bsa G6MnVM6wGzi7Op79irGnb1xab+AB7v8JHXj1mhdGB60BwiLbHmwNd002q0wT2v8NZV5h gT//sRrQuk9YqO6W3ssW6e6IBrJADG6LpZAgQrsyo2H2wZVm0wjyZS0wsBnKuU3wp5wj 5mFkIfQK+G8VFKFxcD/7Y3SVVKnsVSTRBWEhlrLLd76jL51H7LiCYEm8P7GbCF7v/j0T cv+g== MIME-Version: 1.0 X-Received: by 10.60.62.70 with SMTP id w6mr17211627oer.38.1365453057648; Mon, 08 Apr 2013 13:30:57 -0700 (PDT) In-Reply-To: References: Date: Mon, 8 Apr 2013 16:30:57 -0400 Subject: Re: Interactrive Python under Cygwin in Win7 From: David Robinow To: python-list@python.org Content-Type: multipart/alternative; boundary=089e01294f3075716a04d9df5006 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: 63 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1365453066 news.xs4all.nl 6900 [2001:888:2000:d::a6]:52210 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:43090 --089e01294f3075716a04d9df5006 Content-Type: text/plain; charset=UTF-8 On Mon, Apr 8, 2013 at 11:20 AM, Grant Edwards wrote: > I just installed ActiveState 2.7 64-bit on a Windows 7 machine running > a current version of Cygwin. While python programs (both GUI and > text-mode) run fine, I'm unable to use Python interactively from > either the Cygwin terminal or in an ssh session. I tried adding the > "-u" option, but that makes no difference. Interactive C-Python just > hangs on startup. > > Is this bug specific to ActiveState Python, or is it also present in > the vanilla C-Python build for Windows? > > It's present in the "vanilla" build. I assume you're running mintty as I do. I just use the cygwin build for fooling around with python, and [WARNING: hold your nose] the cmd shell when I need Windows Python. You can also use the (old-fashioned?) cygwin.bat do start cygwin which doesn't give you as nice a terminal but does allow you to run bash and "/c/Python27/Python" interactively. Another option, which I just discovered, is bash under msys. It's been a while since I've used it so I can't remember the pro and con but you can run an interactive Windows python. --089e01294f3075716a04d9df5006 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
On Mon, Apr 8, 2013 at 11:20 AM, Grant Edwards <invalid@invalid.in= valid> wrote:
I just installed ActiveState 2.7 64-bit on a= Windows 7 machine running
a current version of Cygwin. =C2=A0While python programs (both GUI and
text-mode) run fine, I'm unable to use Python interactively from
either the Cygwin terminal or in an ssh session. =C2=A0I tried adding the "-u" option, but that makes no difference. =C2=A0Interactive C-Py= thon just
hangs on startup.

Is this bug specific to ActiveState Python, or is it also present in
the vanilla C-Python build for Windows?


It's present in the "vanill= a" build. I assume you're running mintty as I do.
I just use t= he cygwin build for fooling around with python, and [WARNING: hold your nos= e] the cmd shell when I need Windows Python.
You can also use the (old-fashioned?) cygwin.bat do start cygwin which does= n't give you as nice a terminal but does allow you to run bash and &quo= t;/c/Python27/Python" interactively.

Another option, which I ju= st discovered, is bash under msys. It's been a while since I've use= d it so I can't remember the pro and con but you can run an interactive= Windows python.
--089e01294f3075716a04d9df5006--