Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #57139

Re: Looking for UNICODE to ASCII Conversioni Example Code

Path csiph.com!usenet.pasdenom.info!news.albasani.net!rt.uk.eu.org!newsfeed.xs4all.nl!newsfeed2.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <rosuav@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.077
X-Spam-Evidence '*H*': 0.85; '*S*': 0.00; 'argument': 0.05; 'oh,': 0.09; 'that).': 0.09; 'python': 0.11; 'argument,': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'hrm.': 0.16; 'modules,': 0.16; 'non-ascii': 0.16; 'roy': 0.16; 'wrote:': 0.18; 'saying': 0.22; 'error': 0.23; 'subject:Code': 0.24; 'unicode': 0.24; 'header:In-Reply-To:1': 0.27; 'chris': 0.29; 'moved': 0.30; 'message-id:@mail.gmail.com': 0.30; 'code': 0.31; 'raised': 0.31; 'file': 0.32; 'lists': 0.32; 'service,': 0.32; 'another': 0.32; 'text': 0.33; 'amazon': 0.34; 'problem': 0.35; "can't": 0.35; 'received:google.com': 0.35; 'really': 0.36; '2.6': 0.36; 'installing': 0.36; 'so,': 0.37; 'requirements': 0.37; 'handle': 0.38; 'to:addr:python-list': 0.38; 'pm,': 0.38; 'generating': 0.39; 'moving': 0.39; 'support,': 0.39; 'to:addr:python.org': 0.39; 'even': 0.60; 'skip:u 10': 0.60; 'most': 0.60; 'full': 0.61; '20,': 0.68; 'smith': 0.68; 'results': 0.69; 'article': 0.77; '144': 0.84; 'move.': 0.84; 'ready,': 0.84; 'stronger': 0.84; '2013': 0.98
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:to :content-type; bh=aOVKmHm6JGbiPxxYJepdNsFrKGezPwFkdgMZ2qYffkA=; b=yqSWpOGU8KxqVe79+4meNdxvFKnjMfotdNden3C12HEWd/6GlhMrZoO3e+uoLOqIfy x+pIhSArkoLF9zJqVGwozZe1gUOiPk+ffc+Kh1vlnX2Vn3ftHJUtM5gWBQciPx8IBBwL B2USe/vhmoxMvloe+xwQhqjdMZhVcjfQWgqjJThDZvjZHXAViQDZL5LS4C3D4nYnjQJZ QYGWwf9Vdw16ujbILNSCBqv13/clI9lW5VyE7/jUpFs699+cGComrP2qsG0EuDs4sw4K TZab2b2QiC/JhBXm3P0f/U/klXiEwmPsnMJnSRslQ6qL3kUtSZqQSdJlvFKe4X1FF3aO j3Dw==
MIME-Version 1.0
X-Received by 10.68.196.69 with SMTP id ik5mr739428pbc.132.1382234994791; Sat, 19 Oct 2013 19:09:54 -0700 (PDT)
In-Reply-To <roy-AF95BC.21523519102013@news.panix.com>
References <e7c0c225-bfd0-43a7-adfc-1b7639014c48@googlegroups.com> <52624e8f$0$29981$c3e8da3$5496439d@news.astraweb.com> <mailman.1260.1382192092.18130.python-list@python.org> <5262b042$0$29981$c3e8da3$5496439d@news.astraweb.com> <a1c9d9e6-2258-4f63-8354-35794e23efe1@googlegroups.com> <mailman.1267.1382220612.18130.python-list@python.org> <roy-AF95BC.21523519102013@news.panix.com>
Date Sun, 20 Oct 2013 13:09:54 +1100
Subject Re: Looking for UNICODE to ASCII Conversioni Example Code
From Chris Angelico <rosuav@gmail.com>
To python-list@python.org
Content-Type text/plain; charset=ISO-8859-1
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 <https://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 <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.1278.1382234998.18130.python-list@python.org> (permalink)
Lines 30
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1382234998 news.xs4all.nl 15903 [2001:888:2000:d::a6]:34373
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:57139

Show key headers only | View raw


On Sun, Oct 20, 2013 at 12:52 PM, Roy Smith <roy@panix.com> wrote:
> In article <mailman.1267.1382220612.18130.python-list@python.org>,
>  Chris Angelico <rosuav@gmail.com> wrote:
>
>> Or are you saying that that particular error code path did NOT handle
>> non-ASCII characters?
>
> Exactly.  The fundamental error was caught, and then we raised another
> UnicodeEncodeError generating the text of the error message to log!

Ha... oh, that's awkward.

>> If so, that's a strong argument for moving to
>> Python 3, to get full Unicode support in _all_ branches.
>
> Well, yeah.  The problem is, my pip requirements file lists 76 modules
> (and installing all those results in 144 modules, including the cascaded
> dependencies).  Until most of those are P3 ready, we can't move.

It's still a strong argument, just that unavailability of key modules
may be a stronger one :)

> Heck, I can't even really move off 2.6 because we use Amazon's EMR
> service, which is stuck on 2.6.

Hrm. 2.6 is now in source-only security-only support, and that's about
to end (there's a 2.6.9 in the pipeline, and that's that). It's about
time Amazon moved to 2.7, at least...

ChrisA

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Looking for UNICODE to ASCII Conversioni Example Code caldwellinva@gmail.com - 2013-10-18 13:45 -0700
  Re: Looking for UNICODE to ASCII Conversioni Example Code Zero Piraeus <z@etiol.net> - 2013-10-18 19:02 -0300
  Re: Looking for UNICODE to ASCII Conversioni Example Code Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2013-10-19 09:19 +0000
    Re: Looking for UNICODE to ASCII Conversioni Example Code Zero Piraeus <z@etiol.net> - 2013-10-19 11:14 -0300
      Re: Looking for UNICODE to ASCII Conversioni Example Code Roy Smith <roy@panix.com> - 2013-10-19 11:10 -0400
        Re: Looking for UNICODE to ASCII Conversioni Example Code rusi <rustompmody@gmail.com> - 2013-10-19 08:26 -0700
      Re: Looking for UNICODE to ASCII Conversioni Example Code Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2013-10-19 16:16 +0000
        Re: Looking for UNICODE to ASCII Conversioni Example Code Roy Smith <roy@panix.com> - 2013-10-19 09:49 -0700
          Re: Looking for UNICODE to ASCII Conversioni Example Code Chris Angelico <rosuav@gmail.com> - 2013-10-20 09:10 +1100
            Re: Looking for UNICODE to ASCII Conversioni Example Code Roy Smith <roy@panix.com> - 2013-10-19 21:52 -0400
              Re: Looking for UNICODE to ASCII Conversioni Example Code Chris Angelico <rosuav@gmail.com> - 2013-10-20 13:09 +1100
                Re: Looking for UNICODE to ASCII Conversioni Example Code Roy Smith <roy@panix.com> - 2013-10-19 22:13 -0400
                Re: Looking for UNICODE to ASCII Conversioni Example Code Ben Finney <ben+python@benfinney.id.au> - 2013-10-20 13:26 +1100
                Re: Looking for UNICODE to ASCII Conversioni Example Code Chris Angelico <rosuav@gmail.com> - 2013-10-20 13:29 +1100
                Re: Looking for UNICODE to ASCII Conversioni Example Code Mark Lawrence <breamoreboy@yahoo.co.uk> - 2013-10-20 10:11 +0100
  Re: Looking for UNICODE to ASCII Conversioni Example Code Roy Smith <roy@panix.com> - 2013-10-19 08:28 -0400
  Re: Looking for UNICODE to ASCII Conversioni Example Code caldwellinva@gmail.com - 2013-10-19 05:50 -0700

csiph-web