Path: csiph.com!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!rt.uk.eu.org!newsfeed.xs4all.nl!newsfeed1.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.024 X-Spam-Evidence: '*H*': 0.95; '*S*': 0.00; 'subject:not': 0.03; 'subject:Python': 0.06; 'cc:addr:python-list': 0.11; 'python': 0.11; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'stdout': 0.16; 'subject:Unicode': 0.16; 'sure.': 0.16; 'wrote:': 0.18; 'cc:addr:python.org': 0.22; 'bytes': 0.24; 'cc:2**0': 0.24; 'header:In-Reply-To:1': 0.27; 'am,': 0.29; 'message- id:@mail.gmail.com': 0.30; "i'm": 0.30; '13,': 0.31; "d'aprano": 0.31; 'steven': 0.31; 'file': 0.32; 'but': 0.35; 'received:google.com': 0.35; 'version': 0.36; 'needed': 0.38; 'sure': 0.39; 'how': 0.40; 'read': 0.60; 'simple': 0.61; 'subject:know': 0.84; 'subject:you': 0.87; 'subject:want': 0.91; 'to:none': 0.92 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:cc :content-type; bh=yjpoOn2NZFHFAxP9beW91KfaSvQdRxNR4CoroB2sAQk=; b=Sx3jG2TOP1U19eeTkLAD+ma+0qCH0l8dGgpT3Z1J7jTysxDMRdEVEzQ71yP0hpLbI1 7vJC3pcREE8r/at4IqmjS4o472bX7DhqTJWQqKFZIIPgBwJdHxUqf+BCC1xFhxsVKs8k X3mnhBmEVWvYVxh28jGmFhiOrqiZv4qtb+cOu0YRMInoDBFs2/ZAaAz92YgBcFO4PXyO PAUYobvr6VTh4rH28qcU+eu6qCi9s/IQStE9GyAI3a42ZHn+3iDCtjEhmV5aU9jQxJkR gftJ552CSUVqzkUEoY1pP67TiUzNw9jC99w1JF96Kxy3S10Svd1WOAuA0e/bf77ohMCc 0Uqw== MIME-Version: 1.0 X-Received: by 10.52.164.237 with SMTP id yt13mr21830875vdb.18.1399945163774; Mon, 12 May 2014 18:39:23 -0700 (PDT) In-Reply-To: <537172eb$0$29980$c3e8da3$5496439d@news.astraweb.com> References: <8P7cv.78617$Sp6.8377@fx15.am4> <537172eb$0$29980$c3e8da3$5496439d@news.astraweb.com> Date: Tue, 13 May 2014 11:39:23 +1000 Subject: Re: Everything you did not want to know about Unicode in Python 3 From: Chris Angelico Cc: "python-list@python.org" Content-Type: text/plain; charset=UTF-8 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: 15 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1399945166 news.xs4all.nl 2896 [2001:888:2000:d::a6]:41884 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:71418 On Tue, May 13, 2014 at 11:18 AM, Steven D'Aprano wrote: > Reading Armin's post, I think that all that is needed to simplify his > Python 3 version is: > > - have a bytes version of sys.argv (bargv? argvb?) and read > the file names from that; argb? :) > - have a simple way to write bytes to stdout and stderr. I'm not sure how that goes with I/O redirection, but sure. ChrisA