Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!us.feeder.erje.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.fsmpi.rwth-aachen.de!npeer.de.kpn-eurorings.net!npeer-ng0.de.kpn-eurorings.net!news.tele.dk!news.tele.dk!small.news.tele.dk!newsgate.cistron.nl!newsgate.news.xs4all.nl!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.001 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'from:addr:yahoo.co.uk': 0.04; 'lawrence': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'tismer': 0.09; 'python': 0.11; 'codecs': 0.16; 'messy': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'language': 0.16; 'wrote:': 0.18; 'bit': 0.19; 'programming': 0.22; 'header:User-Agent:1': 0.23; 'second': 0.26; 'subject:/': 0.26; 'header:X-Complaints- To:1': 0.27; 'header:In-Reply-To:1': 0.27; 'url:bugs': 0.29; "d'aprano": 0.31; 'steven': 0.31; 'subject:skip:i 10': 0.31; 'anyone': 0.31; 'url:python': 0.33; 'subject:from': 0.34; 'agree': 0.35; "who's": 0.35; 'but': 0.35; 'url:org': 0.36; 'christian': 0.38; 'to:addr:python-list': 0.38; 'little': 0.38; 'to:addr:python.org': 0.39; 'received:org': 0.40; 'world.': 0.61; 'obvious': 0.74 X-Injected-Via-Gmane: http://gmane.org/ To: python-list@python.org From: Mark Lawrence Subject: Re: inconsistency in converting from/to hex Date: Sun, 17 Nov 2013 12:38:26 +0000 References: <528862b2$0$29975$c3e8da3$5496439d@news.astraweb.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Gmane-NNTP-Posting-Host: host-92-24-213-52.ppp.as43234.net User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:24.0) Gecko/20100101 Thunderbird/24.1.0 In-Reply-To: <528862b2$0$29975$c3e8da3$5496439d@news.astraweb.com> 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: 16 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1384691918 news.xs4all.nl 15966 [2001:888:2000:d::a6]:47201 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:59715 On 17/11/2013 06:31, Steven D'Aprano wrote: > > I agree that its a bit of a mess. But only a little bit, and it will be > less messy by 3.5 when the codecs solution is re-introduced. Then the > codecs.encode and decode functions will be the one obvious way. > For anyone who's interested in the codecs issues see http://bugs.python.org/issue7475 and http://bugs.python.org/issue19543 -- Python is the second best programming language in the world. But the best has yet to be invented. Christian Tismer Mark Lawrence