Path: csiph.com!newsfeed.hal-mli.net!feeder3.hal-mli.net!news.stack.nl!newsfeed.xs4all.nl!newsfeed1.news.xs4all.nl!xs4all!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.007 X-Spam-Evidence: '*H*': 0.99; '*S*': 0.00; 'operator': 0.03; 'subject:Python': 0.06; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'afair,': 0.16; 'from:addr:behnel.de': 0.16; 'from:addr:stefan_ml': 0.16; 'from:name:stefan behnel': 0.16; 'long).': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'somewhere.': 0.16; 'stefan': 0.19; 'header:User-Agent:1': 0.23; 'apply.': 0.24; 'certainly': 0.24; 'unicode': 0.24; 'mention': 0.26; 'header:X-Complaints- To:1': 0.27; 'header:In-Reply-To:1': 0.27; 'cool': 0.30; 'gives': 0.31; '(although': 0.31; 'bunch': 0.31; 'division': 0.31; 'something': 0.35; 'received:84': 0.35; 'really': 0.36; 'should': 0.36; 'to:addr:python-list': 0.38; 'to:addr:python.org': 0.39; 'received:org': 0.40; 'called': 0.40; 'improved': 0.60; 'most': 0.60; "you'll": 0.62; 'real': 0.63; 'different': 0.65; 'received :arcor-ip.net': 0.84; 'received:pools.arcor-ip.net': 0.84; 'lucky': 0.93 X-Injected-Via-Gmane: http://gmane.org/ To: python-list@python.org From: Stefan Behnel Subject: Re: Python 3 is killing Python Date: Sat, 31 May 2014 13:22:47 +0200 References: <57ajo9poljjre4c4ig0n0ss8kph8k78lp0@4ax.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Gmane-NNTP-Posting-Host: dslb-084-056-008-209.pools.arcor-ip.net User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.5.0 In-Reply-To: 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: 23 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1401535383 news.xs4all.nl 2839 [2001:888:2000:d::a6]:50807 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:72334 Johannes Bauer, 31.05.2014 13:09: > Lucky for you 2.7.5 isn't all that different from Py3 and most of it > will apply. You'll be missing out on a bunch of cool features (arbitrary > precision ints Py2 has them as well (although they are called long). 1 << 300 gives the right answer in both Py2 and Py3, whether the result is a "long" or an "int". > int division operator AFAIR, that was added in Py2.5, so a book about Py2.7 should mention it somewhere. > real Unicode support Now, that is really something that has improved in Py3, and certainly a reason for many people to prefer Py3 over Py2. Stefan