Path: csiph.com!usenet.pasdenom.info!gegeweb.org!de-l.enfer-du-nord.net!feeder2.enfer-du-nord.net!newsfeed.eweka.nl!eweka.nl!feeder3.eweka.nl!newsfeed.xs4all.nl!newsfeed6.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.014 X-Spam-Evidence: '*H*': 0.97; '*S*': 0.00; 'from:addr:yahoo.co.uk': 0.05; 'subject:data': 0.07; 'assuming': 0.09; 'bytes.': 0.09; 'subject:string': 0.09; 'anyway': 0.11; 'assume': 0.12; '(although': 0.16; 'correlation': 0.16; 'driscoll': 0.16; 'justify': 0.16; 'received:80.91': 0.16; 'received:80.91.229': 0.16; 'received:gmane.org': 0.16; 'received:list': 0.16; 'subject:changing': 0.16; 'wrote:': 0.21; 'header:In-Reply-To:1': 0.22; 'header:User-Agent:1': 0.23; 'language,': 0.23; 'code': 0.29; 'level': 0.30; 'appear': 0.31; 'chris': 0.32; 'subject: (': 0.33; 'certain': 0.34; 'skip:s 20': 0.34; 'depends': 0.35; 'subject:)': 0.36; 'header:X-Complaints-To:1': 0.36; 'trouble': 0.36; 'but': 0.36; 'does': 0.36; 'data': 0.38; 'rather': 0.38; 'received:org': 0.38; 'to:addr:python-list': 0.39; 'how': 0.40; 'to:addr:python.org': 0.40; 'hear': 0.60; 'your': 0.60; 'between': 0.64; 'high': 0.65; 'details': 0.69; 'voice': 0.70; 'received:89': 0.78; 'actually,': 0.84; 'lying': 0.84; 'received:as13285.net': 0.84 X-Injected-Via-Gmane: http://gmane.org/ To: python-list@python.org From: Mark Lawrence Subject: Re: "convert" string to bytes without changing data (encoding) Date: Thu, 29 Mar 2012 07:01:14 +0100 References: <9tg21lFmo3U1@mid.dfncis.de> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Gmane-NNTP-Posting-Host: host-89-243-206-249.as13285.net User-Agent: Mozilla/5.0 (Windows NT 6.0; rv:11.0) Gecko/20120327 Thunderbird/11.0.1 In-Reply-To: X-Antivirus: avast! (VPS 120328-2, 28/03/2012), Outbound message X-Antivirus-Status: Clean X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.12 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: 23 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1333000850 news.xs4all.nl 6888 [2001:888:2000:d::a6]:39086 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:22326 On 29/03/2012 04:58, Ross Ridge wrote: > Chris Angelico wrote: >> Actually, he is justified. It's one thing to work in C or assembly and >> write code that depends on certain bit-pattern representations of data >> (although even that causes trouble - assuming that >> sizeof(int)=3D=3Dsizeof(int*) isn't good for portability), but in a high >> level language, you cannot assume any correlation between objects and >> bytes. Any code that depends on implementation details is risky. > > How does that in anyway justify Evan Driscoll maliciously lying about > code he's never seen? > > Ross Ridge > We appear to have a case of "would you stand up please, your voice is rather muffled". I can hear all the *plonks* from miles away. -- Cheers. Mark Lawrence.