Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #39666
| Path | csiph.com!usenet.pasdenom.info!weretis.net!feeder1.news.weretis.net!feeder.erje.net!eu.feeder.erje.net!xlned.com!feeder7.xlned.com!news2.euro.net!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <bahamutzero8825@gmail.com> |
| 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.97; '*S*': 0.00; 'attribute': 0.05; 'cpython': 0.05; 'that?': 0.05; 'alter': 0.09; 'encoding': 0.15; 'freezes': 0.16; 'wrote:': 0.17; 'input': 0.18; 'windows': 0.19; 'least': 0.25; 'header:In-Reply-To:1': 0.25; 'header:User- Agent:1': 0.26; 'replace': 0.27; 'correct': 0.28; 'workaround': 0.29; 'to:addr:python-list': 0.33; 'received:google.com': 0.34; 'received:192.168.0': 0.35; 'received:209.85': 0.35; 'there': 0.35; 'message-id:@gmail.com': 0.36; 'why': 0.37; 'received:209': 0.37; 'subject:: ': 0.38; 'object': 0.38; 'to:addr:python.org': 0.39; 'received:192': 0.39; 'received:192.168': 0.40; '9.1': 0.84; 'kin': 0.91 |
| DKIM-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:message-id:date:from:user-agent:mime-version:to:subject :references:in-reply-to:x-enigmail-version:content-type :content-transfer-encoding; bh=IZvU7BY4BnwWo63iMm8wthfmxikF6SKcIns0zgUC/c8=; b=08hXqazK1yC0m0BdYB/yyWo5Ee7mEYjaM+0qxkgSkQNt4ytm1kGi9GdLX9x51gR1uk r2yW2FrADvJUXDjryxubnNdI3GHdou3un01CX2D8PnsYe8xKvv6B2alm2/jkeWeBOZTf rjN30DCXIR/aj6bO4wKwIV3Y6nwdVaacFB5nit+vndqA9GYayLEscX9Qw88YsHwVx2mF gzR7R7WrfXx+5m6HEWHxtRMVy3ksXdpKnl9k0FAE6HgP6Ybt7Fla1VTbCSn+I0wkdMDr ok+hjjBqVFRZDAlWewzEn6xzgWl3DKEBuEHAQ3IBmkC0/ESAQ4BcD92FGENYvnSjE7Wb GFYA== |
| X-Received | by 10.236.71.228 with SMTP id r64mr10651299yhd.56.1361625836351; Sat, 23 Feb 2013 05:23:56 -0800 (PST) |
| Date | Sat, 23 Feb 2013 07:23:54 -0600 |
| From | Andrew Berg <bahamutzero8825@gmail.com> |
| User-Agent | Mozilla/5.0 (Windows NT 6.2; WOW64; rv:17.0) Gecko/20130107 Thunderbird/17.0.2 |
| MIME-Version | 1.0 |
| To | "comp.lang.python" <python-list@python.org> |
| Subject | Re: Altering sys.stdin |
| References | <CACvLUakm7c3bCY+mF0ePJ86ACRCTOd7pN_ztqynD3aNNcE+Aag@mail.gmail.com> |
| In-Reply-To | <CACvLUakm7c3bCY+mF0ePJ86ACRCTOd7pN_ztqynD3aNNcE+Aag@mail.gmail.com> |
| X-Enigmail-Version | 1.5 |
| Content-Type | text/plain; charset=UTF-8 |
| Content-Transfer-Encoding | 7bit |
| 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.2341.1361626274.2939.python-list@python.org> (permalink) |
| Lines | 10 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1361626274 news.xs4all.nl 6891 [2001:888:2000:d::a6]:34385 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:39666 |
Show key headers only | View raw
On 2013.02.23 07:00, Draic Kin wrote: > Intepreter actually freezes when an object without > encoding attribute is assigned to sys.stdin. Why is that? I that a > correct behavior? Is there any workaround to alter input object for > interactive console? If you're going to replace something, the replacement needs to at least quack like the original... -- CPython 3.3.0 | Windows NT 6.2.9200 / FreeBSD 9.1
Back to comp.lang.python | Previous | Next | Find similar | Unroll thread
Re: Altering sys.stdin Andrew Berg <bahamutzero8825@gmail.com> - 2013-02-23 07:23 -0600
csiph-web