Path: csiph.com!eternal-september.org!feeder.eternal-september.org!newsfeed0.kamp.net!newsfeed.kamp.net!feeder1.cambriumusenet.nl!feed.tweak.nl!194.109.133.81.MISMATCH!newsfeed.xs4all.nl!newsfeed7.news.xs4all.nl!nzpost1.xs4all.net!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.004 X-Spam-Evidence: '*H*': 0.99; '*S*': 0.00; 'subject:Python': 0.05; 'cc:addr:python-list': 0.09; 'received:openend.se': 0.09; 'received:theraft.openend.se': 0.09; 'cc:addr:lac': 0.16; 'cc:addr:openend.se': 0.16; 'from:addr:lac': 0.16; 'from:addr:openend.se': 0.16; 'from:name:laura creighton': 0.16; 'message-id:@fido.openend.se': 0.16; 'received:fido': 0.16; 'received:fido.openend.se': 0.16; 'subject:Unicode': 0.16; 'laura': 0.18; 'cc:addr:python.org': 0.20; 'cc:2**1': 0.22; 'seems': 0.23; 'received:se': 0.29; 'cc:no real name:2**1': 0.29; 'asking': 0.35; 'url:org': 0.36; 'subject:: ': 0.37; 'charset:us- ascii': 0.37; 'header:Message-Id:1': 0.61; 'six': 0.65; 'subjectcharset:utf-8': 0.71; 'header:In-reply-to:1': 0.84 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=openend.se; s=default; t=1444135695; bh=L3W8WXK+INLtTxSZecNfGJAR4okuZ86V0qUjisUDTAg=; h=To:cc:From:Subject:In-reply-to:References:Date:From; b=2AvcYnq2s3ooNq1QMMLeJnGzq/4w3DC6WFrDNExxnczOLStzSn6ruahxm7k1NGr9T zRRXF3eODc9nCbowOm3J5nx/gkP2xsSU+A1k25SbTqHIPWs/+jDmmKF8o5xdG/ZGys bVtY4z3FNKyM32OtGWrfhn+V1l0DSAx2riti7xP0= To: Ben Finney cc: python-list@python.org, lac@openend.se From: Laura Creighton Subject: Re: Python 2 =?utf-8?B?4oCYcHJpbnTigJks?= coercing arguments to Unicode In-reply-to: <85wpv0z368.fsf@benfinney.id.au> References: <851td81g08.fsf@benfinney.id.au> <85wpv0z368.fsf@benfinney.id.au> Comments: In-reply-to Ben Finney message dated "Tue, 06 Oct 2015 21:45:03 +1100." MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <11698.1444135692.1@fido> Date: Tue, 06 Oct 2015 14:48:12 +0200 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.3.9 (theraft.openend.se [82.96.5.2]); Tue, 06 Oct 2015 14:48:15 +0200 (CEST) X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.20+ 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: 7 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1444135703 news.xs4all.nl 23858 [2001:888:2000:d::a6]:35824 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:97443 Hmm, now that I read the six document again @six.python_2_unicode_compatible seems exactly what you are asking for ... https://pythonhosted.org/six/ Laura