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


Groups > comp.lang.python > #63369

Re: "More About Unicode in Python 2 and 3"

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!news.mixmin.net!feeds.phibee-telecom.net!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.001
X-Spam-Evidence '*H*': 1.00; '*S*': 0.00; 'from:addr:yahoo.co.uk': 0.04; 'argument': 0.05; 'interpreter': 0.05; 'subject:Python': 0.06; 'fixes': 0.07; 'ascii': 0.09; 'back.': 0.09; 'broke': 0.09; 'bytes.': 0.09; 'default.': 0.09; 'dependency': 0.09; 'forcing': 0.09; 'lawrence': 0.09; 'raises': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'sentence': 0.09; 'developer': 0.10; 'python': 0.11; 'bug': 0.12; 'assume': 0.14; '2.7': 0.14; 'language.': 0.14; 'thread': 0.14; '"it\'s': 0.16; 'broken.': 0.16; 'enough.': 0.16; 'permissive': 0.16; 'ported': 0.16; 'reason.': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'robust.': 0.16; 'stepping': 0.16; 'subject:More': 0.16; 'subject:Unicode': 0.16; 'discussions': 0.16; 'language': 0.16; 'wrote:': 0.18; 'code.': 0.18; 'bit': 0.19; '3.0': 0.19; 'else,': 0.19; 'written': 0.21; 'seems': 0.21; 'coding': 0.22; 'header:User-Agent:1': 0.23; 'features,': 0.24; "haven't": 0.24; 'least': 0.26; 'world,': 0.26; 'header:X-Complaints-To:1': 0.27; 'header:In-Reply-To:1': 0.27; 'topic': 0.29; 'ease': 0.30; 'errors': 0.30; "i'm": 0.30; 'gives': 0.31; 'code': 0.31; 'becoming': 0.31; 'forces': 0.31; 'libraries': 0.31; 'option)': 0.31; 'releasing': 0.31; 'subject:About': 0.31; 'probably': 0.32; 'run': 0.32; 'linux': 0.33; 'everyone': 0.33; 'running': 0.33; 'actively': 0.33; 'becomes': 0.33; 'totally': 0.33; "i'd": 0.34; 'could': 0.34; 'something': 0.35; 'definition': 0.35; 'one,': 0.35; 'but': 0.35; 'there': 0.35; 'really': 0.36; 'leads': 0.36; 'next': 0.36; 'operating': 0.37; 'easily': 0.37; 'being': 0.38; 'improving': 0.38; 'mine': 0.38; 'to:addr:python- list': 0.38; 'rather': 0.38; 'little': 0.38; 'anything': 0.39; 'expect': 0.39; 'moving': 0.39; 'sure': 0.39; 'to:addr:python.org': 0.39; 'either': 0.39; 'received:org': 0.40; 'users': 0.40; 'major': 0.40; 'release': 0.40; 'eventually': 0.60; 'subject:"': 0.60; 'new': 0.61; 'further': 0.61; 'first': 0.61; 'back': 0.62; 'our': 0.64; 'design,': 0.64; 'more': 0.64; 'different': 0.65; 'taking': 0.65; 'holding': 0.65; 'managing': 0.66; 'reply': 0.66; 'between': 0.67; 'natural': 0.68; 'default': 0.69; 'anyone.': 0.74; 'funny': 0.74; 'day': 0.76; 'glad': 0.83; 'cole': 0.84; 'defensive': 0.84; 'denial.': 0.84; 'hardly': 0.84; 'increasingly': 0.84; 'presumably': 0.84; 'received:2': 0.84; 'thing,': 0.91; 'choice.': 0.93; 'differences': 0.93; 'have.': 0.93; 'yours.': 0.93
X-Injected-Via-Gmane http://gmane.org/
To python-list@python.org
From Mark Lawrence <breamoreboy@yahoo.co.uk>
Subject Re: "More About Unicode in Python 2 and 3"
Date Mon, 06 Jan 2014 23:02:05 +0000
References <lablra$1mc$2@ger.gmane.org> <201401060932.35410.gheskett@wdtv.com> <laf2qm$4ep$1@ger.gmane.org> <201401061617.06746.gheskett@wdtv.com> <laf7fu$se5$1@ger.gmane.org> <laf7ut$1be$2@ger.gmane.org> <laf9gn$le8$1@ger.gmane.org> <CAAu18hdZJGbbCunWusW9q2+Y0+df90GXDLC4wJL0pOC-3YqP8Q@mail.gmail.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-2-98-207-36.as13285.net
User-Agent Mozilla/5.0 (Windows NT 6.1; rv:24.0) Gecko/20100101 Thunderbird/24.2.0
In-Reply-To <CAAu18hdZJGbbCunWusW9q2+Y0+df90GXDLC4wJL0pOC-3YqP8Q@mail.gmail.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.5087.1389049506.18130.python-list@python.org> (permalink)
Lines 64
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1389049506 news.xs4all.nl 2975 [2001:888:2000:d::a6]:59987
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:63369

Show key headers only | View raw


On 06/01/2014 22:41, Nicholas Cole wrote:
> I hardly know which of the various threads on this topic to reply to!
>
> No one is taking Python 2.7 away from anyone.  It is going to be on the
> net for years to come.  Goodness! I expect if I wanted to go and
> download Python 1.5 I could find it easily enough.
>
> Like everyone else, when Python 3 came out I was nervous.  A lot of my
> code broke - but it broke for a good reason.  I had been being cavalier
> about strings and ASCII and bytes.  A lot of my code was working by
> accident rather than by design, or because my users had never fed it
> anything that would make it fall over.  Of course, my first reaction was
> a defensive one, but once I had got over that and got my head around
> Python 3's view of the world, I was pleased I had.  I find writing in
> Python 3 leads to more robust code.  I like the way it forces me to do
> the right thing, and I like the way it raises errors if I try to get
> away with something I shouldn't. Going back to Python 2 now feels a bit
> like stepping back to the seductive and permissive hell of PHP in some
> ways!  If I could be sure that I was coding just for me and not having
> to support things still running on Python 2, I would move to Python 3.3
> and not look back.  Except, yes, there are still libraries that haven't
> made the change....blast!
>
> Python 2.7 is there if your software was written to run on the 2 series.
>   I am sure it will either be distributed with (as default or option)
> major operating systems for some time.  I am totally unpersuaded by the
> argument that 'back porting' more and more into Python 2 will ease the
> transition.  I think it will just use up developer time, and delay
> further the day when releasing new code for Python 3 only becomes not
> only reasonable but the natural and default choice.
>
> I am really glad to see that at least one distribution of Linux is
> moving to Python 3 as the default.  I'd much rather see developer time
> spent improving Python 3 than managing a transition.
> I realised when Python 3.0 came out that eventually I would have to move
> to Python 3.  I spent the next release in a state of denial.  But I had
> years to get used to it, and I'm glad I have.  It "feels" more robust.
>   Of course, I haven't ported every little program: but no one is
> forcing me too!
>
> All of these threads are written as if everyone's code is about to be
> broken.  It isn't.  But if you want the new features, you need to make a
> move, and it is probably time to write all new code in Python 3. If
> there's a dependency holding you back, then there will be a Python 2
> interpreter around to run your code.  That all seems pretty reasonable
> and straightforward to me.
>
> Nicholas
>
>

The first sentence from the blog which gives this thread its title "It's 
becoming increasingly harder to have reasonable discussions about the 
differences between Python 2 and 3 because one language is dead and the 
other is actively developed".  Funny really as I see bug fixes going 
into Python 2.7 on a daily basis so I can only assume that their 
definition of dead is different to mine and presumably yours.

-- 
My fellow Pythonistas, ask not what our language can do for you, ask 
what you can do for our language.

Mark Lawrence

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


Thread

Re: "More About Unicode in Python 2 and 3" Mark Lawrence <breamoreboy@yahoo.co.uk> - 2014-01-06 23:02 +0000

csiph-web