Path: csiph.com!usenet.pasdenom.info!news.redatomik.org!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.010 X-Spam-Evidence: '*H*': 0.98; '*S*': 0.00; 'from:addr:yahoo.co.uk': 0.04; 'important,': 0.07; 'python3': 0.07; 'cest': 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; 'python': 0.11; 'language.': 0.14; 'pythonic': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'language': 0.16; 'wrote:': 0.18; 'trying': 0.19; 'header:User-Agent:1': 0.23; "haven't": 0.24; 'header:X-Complaints-To:1': 0.27; 'header:In- Reply-To:1': 0.27; 'code': 0.31; 'url:python': 0.33; 'moment': 0.34; "i'd": 0.34; 'but': 0.35; 'there': 0.35; 'really': 0.36; 'leads': 0.36; 'doing': 0.36; 'useful': 0.36; 'url:org': 0.36; 'starting': 0.37; 'being': 0.38; 'question,': 0.38; 'to:addr :python-list': 0.38; 'to:addr:python.org': 0.39; 'received:org': 0.40; 'url:3': 0.61; "you'll": 0.62; 'our': 0.64; 'more': 0.64; 'charset:windows-1252': 0.65; 'air': 0.66; '2015': 0.84; 'fresh.': 0.84; 'netherlands': 0.84; 'received:2': 0.84; 'feet': 0.93 X-Injected-Via-Gmane: http://gmane.org/ To: python-list@python.org From: Mark Lawrence Subject: Re: l = range(int(1E9)) Date: Thu, 30 Apr 2015 21:53:24 +0100 References: <87k2wtvbx1.fsf@Equus.decebal.nl> <87mw1ptpr0.fsf@Equus.decebal.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Gmane-NNTP-Posting-Host: host-2-98-195-171.as13285.net User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.6.0 In-Reply-To: <87mw1ptpr0.fsf@Equus.decebal.nl> X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.20+ 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: 30 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1430427228 news.xs4all.nl 2864 [2001:888:2000:d::a6]:44297 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:89671 On 30/04/2015 19:50, Cecil Westerhof wrote: > Op Thursday 30 Apr 2015 19:12 CEST schreef Rob Gaddi: > >> This also leads to a unrelated question, Cecil. Given that you >> really are just starting to get your Python feet under you, why are >> you using Python2? Python3 is the standard now, Python2 is really >> just given legacy support. I'd understand if you were trying to >> maintain an old codebase with lots of legacy code that was having >> "problematic" migrations, but with the opportunity to start fresh? >> Start fresh. You'll be happier for it. > > I try to write code that works with both. Wen looking around in the > Netherlands there are more job opportunities with Python 2 as with > Python 3. So at the moment I find Python 2 more important, without > forgetting Python 3. > You might find this useful then in you haven't already seen it https://docs.python.org/3/howto/pyporting.html I must also confess to being highly impressed, it's a breath of fresh air having an apprentice Pythonista who is looking at doing things the Pythonic way :) -- My fellow Pythonistas, ask not what our language can do for you, ask what you can do for our language. Mark Lawrence