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


Groups > comp.lang.python > #70383

converting old project to Python 3 was: Re: Why Python 3?

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.fsmpi.rwth-aachen.de!rt.uk.eu.org!newsfeed.xs4all.nl!newsfeed3.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <esj@harvee.org>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.054
X-Spam-Evidence '*H*': 0.89; '*S*': 0.00; 'subject:Python': 0.06; 'subject:Why': 0.09; 'supported,': 0.09; 'python': 0.11; 'language,': 0.12; 'project,': 0.12; '12:04': 0.16; 'process?': 0.16; 'extensions': 0.16; 'wrote:': 0.18; 'library': 0.18; 'subject:project': 0.19; 'header:User-Agent:1': 0.23; '2.x': 0.24; '---': 0.24; '(for': 0.26; 'supported': 0.26; 'header:In-Reply- To:1': 0.27; 'am,': 0.29; 'gives': 0.31; 'interface': 0.32; 'style': 0.33; "i'd": 0.34; 'possible.': 0.35; 'convert': 0.35; 'but': 0.35; 'there': 0.35; 'c++': 0.36; 'combination': 0.36; 'ryan': 0.36; 'thanks': 0.36; 'subject:?': 0.36; 'starting': 0.37; 'to:addr:python-list': 0.38; 'to:addr:python.org': 0.39; 'received:org': 0.40; 'how': 0.40; 'even': 0.60; 'then,': 0.60; 'management.': 0.61; 'full': 0.61; 'new': 0.61; 'world.': 0.61; 'soon': 0.63; 'skip:n 10': 0.64; 'url:pdf': 0.68; 'beautiful': 0.68; 'power': 0.76; 'absolutely': 0.87
X-Virus-Scanned amavisd-new at harvee.org
Date Sat, 19 Apr 2014 09:06:47 -0400
From "Eric S. Johansson" <esj@harvee.org>
User-Agent Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.4.0
MIME-Version 1.0
To python-list@python.org
Subject converting old project to Python 3 was: Re: Why Python 3?
References <CAJUMiQsdjw4oXVVthrOPTjzr19cpc8qw-vfPd3O8L-ShH6mc2g@mail.gmail.com> <CABpHFHR5mp+4_PbnFvQBn_=m0_94RM2QAfaOCkhcQF5j49923g@mail.gmail.com>
In-Reply-To <CABpHFHR5mp+4_PbnFvQBn_=m0_94RM2QAfaOCkhcQF5j49923g@mail.gmail.com>
Content-Type text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding 7bit
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.9360.1397913272.18130.python-list@python.org> (permalink)
Lines 25
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1397913272 news.xs4all.nl 2848 [2001:888:2000:d::a6]:60489
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:70383

Show key headers only | View raw


On 4/19/2014 12:04 AM, Ryan Hiebert wrote:
> If you are starting a new project, I'd highly encourage you to use 
> Python 3. It is a stable, well supported, and beautiful language, and 
> gives you the full power of the innovation that is current in the 
> Python world. Python 2 is still well supported (for a while to come), 
> but you won't have the same access to new features and ideas that you 
> would on Python 3.
>
> The only reason that I'd still be on Python 2 is if I absolutely had 
> to use a library that for some reason is not yet working on Python 3. 
> Even then, I'd work hard to try and write it in Python 3 style Python 
> 2, because I'd want to be on Python 3 as soon as possible.

The Python extensions to NaturallySpeaking are combination of C++ for a 
COM interface and Python for grammar management. 
http://qh.antenna.nl/unimacro/implementation_and_acceptance_of_natlink.pdf

How hard is it to convert from C++ extensions for 2.x to 3.x? are there 
any tools to help with the process?

Thanks for any insights.

--- eric

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


Thread

converting old project to Python 3 was: Re: Why Python 3? "Eric S. Johansson" <esj@harvee.org> - 2014-04-19 09:06 -0400

csiph-web