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


Groups > comp.lang.python > #60416

Re: python for everyday tasks

Path csiph.com!usenet.pasdenom.info!news.etla.org!news.stack.nl!newsfeed.xs4all.nl!newsfeed1.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail
Return-Path <python-python-list@m.gmane.org>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.005
X-Spam-Evidence '*H*': 0.99; '*S*': 0.00; 'from:addr:yahoo.co.uk': 0.04; 'utf-8': 0.07; 'ascii': 0.09; 'bytes.': 0.09; 'character,': 0.09; 'expense': 0.09; '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; 'used.': 0.09; 'python': 0.11; '3.3,': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'subject:tasks': 0.16; 'unicode.': 0.16; '\xe9crit': 0.16; 'subject:python': 0.16; 'language': 0.16; 'wrote:': 0.18; 'memory': 0.22; 'programming': 0.22; 'coding': 0.22; 'header:User-Agent:1': 0.23; 'byte': 0.24; 'bytes': 0.24; 'text,': 0.24; 'unicode': 0.24; 'second': 0.26; 'header:X-Complaints-To:1': 0.27; 'header:In-Reply-To:1': 0.27; 'correct': 0.29; 'character': 0.29; 'needed.': 0.30; '(which': 0.31; '(although': 0.31; "d'aprano": 0.31; 'steven': 0.31; 'languages': 0.32; 'but': 0.35; 'largely': 0.36; 'scheme': 0.36; 'starting': 0.37; 'christian': 0.38; 'to:addr:python-list': 0.38; 'does': 0.39; 'to:addr:python.org': 0.39; 'received:org': 0.40; 'how': 0.40; 'skip:u 10': 0.60; 'world.': 0.61; 'save': 0.62; 'email addr:gmail.com': 0.63; 'more': 0.64; 'different': 0.65; 'side': 0.67; 'between': 0.67; 'optimized': 0.68; 'beats': 0.84; 'blob': 0.84; 'characters,': 0.84; 'novembre': 0.84; 'samedi': 0.84; 'why?': 0.91; 'choice.': 0.93; 'endorsed': 0.93; '2013': 0.98
X-Injected-Via-Gmane http://gmane.org/
To python-list@python.org
From Mark Lawrence <breamoreboy@yahoo.co.uk>
Subject Re: python for everyday tasks
Date Mon, 25 Nov 2013 13:33:35 +0000
References <5737051f-26d4-4771-b4a0-d41062f1a4ef@googlegroups.com> <52900c74$0$29993$c3e8da3$5496439d@news.astraweb.com> <d41c02c1-22f4-477c-b4ad-79001f13e302@googlegroups.com>
Mime-Version 1.0
Content-Type text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding 8bit
X-Gmane-NNTP-Posting-Host host-78-147-186-20.as13285.net
User-Agent Mozilla/5.0 (Windows NT 6.1; rv:24.0) Gecko/20100101 Thunderbird/24.1.1
In-Reply-To <d41c02c1-22f4-477c-b4ad-79001f13e302@googlegroups.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 <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.3170.1385386432.18130.python-list@python.org> (permalink)
Lines 48
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1385386433 news.xs4all.nl 15977 [2001:888:2000:d::a6]:46989
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:60416

Show key headers only | View raw


On 25/11/2013 10:12, wxjmfauth@gmail.com wrote:
> Le samedi 23 novembre 2013 03:01:26 UTC+1, Steven D'Aprano a écrit :
>>
>> * Python 3 (although not Python 2) is one of the few languages that get
>>
>> Unicode *right*. Strings in Python 3 are text, sequences of Unicode
>>
>> characters, not a thinly disguised blob of bytes. Starting with Python
>>
>> 3.3, Python does away with the difference between "narrow builds" (which
>>
>> save memory at the expense of correctness) and "wide builds" (which give
>>
>> correct Unicode behaviour at the cost of memory). Instead, Python 3.3 now
>>
>> has optimized strings that use only as much memory as needed. Pure ASCII
>>
>> strings will use 1 byte per character, while Unicode strings use 1, 2 or
>>
>> 4 bytes per character as needed. And it all happens transparently.
>>

> [topic beeing more of less closed]
>
> Your paragraph is mixing different concepts.
>
> When it comes to save memory, utf-8 is the choice. It
> beats largely the FSR on the side of memory and on
> the side of performances.
>
> How and why? I suggest, you have a deeper understanding
> of unicode.
>
> May I recall, it is one of the coding scheme endorsed
> by "Unicode.org" and it is intensively used. This is not
> by chance.
>
> jmf
>

Yet more double spaced crap.

-- 
Python is the second best programming language in the world.
But the best has yet to be invented.  Christian Tismer

Mark Lawrence

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


Thread

python for everyday tasks koch.mate@gmail.com - 2013-11-22 15:59 -0800
  Re: python for everyday tasks Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2013-11-23 02:01 +0000
    Re: python for everyday tasks wxjmfauth@gmail.com - 2013-11-25 02:12 -0800
      Re: python for everyday tasks Mark Lawrence <breamoreboy@yahoo.co.uk> - 2013-11-25 13:33 +0000
      Re: python for everyday tasks Michael Torrie <torriem@gmail.com> - 2013-11-25 08:11 -0700
        Re: python for everyday tasks wxjmfauth@gmail.com - 2013-11-25 08:17 -0800
      Re: python for everyday tasks Chris Angelico <rosuav@gmail.com> - 2013-11-26 02:38 +1100
      Re: python for everyday tasks Ben Finney <ben+python@benfinney.id.au> - 2013-11-26 10:35 +1100
      Re: python for everyday tasks Chris Angelico <rosuav@gmail.com> - 2013-11-26 11:09 +1100
    Re: python for everyday tasks Pavel Volkov <negaipub@gmail.com> - 2013-11-27 22:05 +0400
    Re: python for everyday tasks Michael Torrie <torriem@gmail.com> - 2013-11-27 11:15 -0700
    Re: python for everyday tasks Chris Angelico <rosuav@gmail.com> - 2013-11-28 10:11 +1100
  Re: python for everyday tasks Ned Batchelder <ned@nedbatchelder.com> - 2013-11-22 18:32 -0800
  Re: python for everyday tasks Dan Stromberg <drsalists@gmail.com> - 2013-11-22 22:28 -0800
  Re: python for everyday tasks Dan Stromberg <drsalists@gmail.com> - 2013-11-22 22:36 -0800
  Re: python for everyday tasks Chris Angelico <rosuav@gmail.com> - 2013-11-23 18:25 +1100
    Re: python for everyday tasks koch.mate@gmail.com - 2013-11-23 16:54 -0800

csiph-web