Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #62778
| References | <XT7vu.64127$Qi4.25759@fx11.iad> |
|---|---|
| Date | 2013-12-26 21:29 -0800 |
| Subject | Re: So, what's the real story on Python 2 vs Python 3? |
| From | Dan Stromberg <drsalists@gmail.com> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.4655.1388122187.18130.python-list@python.org> (permalink) |
On Thu, Dec 26, 2013 at 9:04 PM, Travis McGee <nobody@nowhere.com> wrote: > What's the deal? If I want to make a distributable software package, should > it be 2 or 3? Enquiring minds want to know. 3.x alone isn't a bad option, but it doesn't really have to be an either-or decision. That is, even pretty substantial code bases can run on both, without any 2to3 or 3to2. Personally, I'd think very carefully before committing to a dependency that's still 2.x-only today. EG, when I was looking for a 3.x version of pygtk, it turned out that pygtk was being replaced by something called "gobject", which runs on both 2.x and 3.x. I happily made my pygtk scripts use gobject, and now they're portable between 2.x and 3.x - there was even a script provided that made most of the changes for me. Here's a link to a presentation I did at my local Python User Group about writing code to run on both 2.x and 3.x: http://stromberg.dnsalias.org/~dstromberg/Intro-to-Python/ HTH
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
So, what's the real story on Python 2 vs Python 3? Travis McGee <nobody@nowhere.com> - 2013-12-27 00:04 -0500
Re: So, what's the real story on Python 2 vs Python 3? Roy Smith <roy@panix.com> - 2013-12-27 00:07 -0500
Re: So, what's the real story on Python 2 vs Python 3? Chris Angelico <rosuav@gmail.com> - 2013-12-27 16:14 +1100
Re: So, what's the real story on Python 2 vs Python 3? Andrew Berg <robotsondrugs@gmail.com> - 2013-12-26 23:20 -0600
Re: So, what's the real story on Python 2 vs Python 3? Grant Edwards <invalid@invalid.invalid> - 2014-01-02 16:34 +0000
Re: So, what's the real story on Python 2 vs Python 3? Dan Stromberg <drsalists@gmail.com> - 2013-12-26 21:29 -0800
Re: So, what's the real story on Python 2 vs Python 3? Rustom Mody <rustompmody@gmail.com> - 2013-12-27 11:13 +0530
Re: So, what's the real story on Python 2 vs Python 3? Chris Angelico <rosuav@gmail.com> - 2013-12-27 17:00 +1100
Re: So, what's the real story on Python 2 vs Python 3? Dan Stromberg <drsalists@gmail.com> - 2013-12-26 22:23 -0800
Re: So, what's the real story on Python 2 vs Python 3? Rustom Mody <rustompmody@gmail.com> - 2013-12-27 16:21 +0530
Re: So, what's the real story on Python 2 vs Python 3? Chris Angelico <rosuav@gmail.com> - 2013-12-27 22:06 +1100
Re: So, what's the real story on Python 2 vs Python 3? Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2013-12-27 22:34 +1100
Re: So, what's the real story on Python 2 vs Python 3? Chris Angelico <rosuav@gmail.com> - 2013-12-27 22:46 +1100
Re: So, what's the real story on Python 2 vs Python 3? Ned Batchelder <ned@nedbatchelder.com> - 2013-12-27 07:13 -0500
Re: So, what's the real story on Python 2 vs Python 3? Grant Edwards <invalid@invalid.invalid> - 2014-01-02 16:28 +0000
csiph-web