Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #20365

Re: Strange Behavior on Python 3 Windows Command Line

Path csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!aioe.org!news.stack.nl!newsfeed.xs4all.nl!newsfeed6.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail
Return-Path <waylan@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.003
X-Spam-Evidence '*H*': 0.99; '*S*': 0.00; 'attempting': 0.04; 'pointer': 0.05; 'subject:Python': 0.05; 'skip:` 10': 0.07; 'debugging': 0.13; 'pipes': 0.16; 'stdin': 0.16; 'stdout': 0.16; 'strangely': 0.16; 'subject:Behavior': 0.16; 'cc:addr:python- list': 0.16; 'mon,': 0.16; 'subject:Windows': 0.17; 'wrote:': 0.18; 'occurred': 0.18; 'seems': 0.20; 'cc:no real name:2**0': 0.21; 'maybe': 0.21; 'header:In-Reply-To:1': 0.22; 'feb': 0.22; 'received:209.85.212.46': 0.23; 'received:mail- vw0-f46.google.com': 0.23; 'unsure': 0.23; 'fine': 0.24; 'modify': 0.25; 'cc:2**0': 0.26; 'fact': 0.27; 'script': 0.28; 'message- id:@mail.gmail.com': 0.29; 'indicated': 0.29; 'problem': 0.29; 'cc:addr:python.org': 0.29; 'pm,': 0.29; 'throwing': 0.30; "didn't": 0.30; 'thanks': 0.32; 'does': 0.32; '----': 0.32; 'received:209.85.212': 0.33; 'it.': 0.33; 'file': 0.34; 'running': 0.34; 'problem.': 0.35; 'combination': 0.37; 'suddenly': 0.37; 'but': 0.37; 'received:google.com': 0.37; 'received:209.85': 0.38; 'doing': 0.38; 'think': 0.38; 'itself.': 0.39; 'received:209': 0.39; 'course,': 0.62; 'presented': 0.62; 'lost': 0.68; 'day.': 0.72; 'window,': 0.84; 'redirect': 0.91
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=qEKIP3eGvBeu9OcjV6OIsg0JTSY3p4ktRTjf/XXYzC0=; b=kH2v1Ggs5wRES+9otvs2i/MdCfze8ym9NhvaSGWmHYMsUTt7VJHwnMGduckutvyHKw o6udBTp4yrB8B07fKq2P/XDmryKnLq5CJm2V87ofJRU5XAHt13+f9Up9yWNzrNkYzOVI 9ZO7U72jFaDK32/tQToBbTRb8Ml/Qls2PlCAE=
MIME-Version 1.0
In-Reply-To <CAJ6cK1YTRKXeTwHO_mjzdEK6__iLQn3MG4xVz+AK98r+b0OA8Q@mail.gmail.com>
References <f676490c-e98f-4e0b-8c45-ff0748ff877b@m24g2000yqb.googlegroups.com> <CAJ6cK1YTRKXeTwHO_mjzdEK6__iLQn3MG4xVz+AK98r+b0OA8Q@mail.gmail.com>
From Waylan Limberg <waylan@gmail.com>
Date Mon, 13 Feb 2012 15:47:36 -0500
Subject Re: Strange Behavior on Python 3 Windows Command Line
To Arnaud Delobelle <arnodel@gmail.com>
Content-Type text/plain; charset=UTF-8
Cc python-list@python.org
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.12
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.5776.1329166079.27778.python-list@python.org> (permalink)
Lines 26
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1329166079 news.xs4all.nl 6918 [2001:888:2000:d::a6]:58474
X-Complaints-To abuse@xs4all.nl
Xref x330-a1.tempe.blueboxinc.net comp.lang.python:20365

Show key headers only | View raw


On Mon, Feb 13, 2012 at 3:16 PM, Arnaud Delobelle <arnodel@gmail.com> wrote:
>> Strangely it was working fine the other day. Then while debugging a
>> script it suddenly started do this and now does this for every script
>
> How were you debugging?

I think I may have been attempting to use pipes to redirect stdin
and/or stdout when the problem first presented itself.  Unfortunately,
once I closed the window, I lost whatever pipe combination I had
tried.

It just occurred to me that I was unsure if I had been doing that pipe
correctly, and that maybe I overwrote python.exe. Sure enough, the
modify date on that file indicated I overwrote it. A re-install has
resolved the problem.

It's just a little embarrassing that I didn't think of that until now,
but the fact that everything else seems to work was throwing me off.
Of course, everything else was running `pythonw.exe` not `python.exe`.

Anyway, thanks for the pointer Arnaud.

-- 
----
\X/ /-\ `/ |_ /-\ |\|
Waylan Limberg

Back to comp.lang.python | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

Strange Behavior on Python 3 Windows Command Line waylan <waylan@gmail.com> - 2012-02-13 11:50 -0800
  Re: Strange Behavior on Python 3 Windows Command Line Arnaud Delobelle <arnodel@gmail.com> - 2012-02-13 20:16 +0000
  Re: Strange Behavior on Python 3 Windows Command Line Waylan Limberg <waylan@gmail.com> - 2012-02-13 15:47 -0500

csiph-web