Live data from Hacker News

Ask HN: Why are there 2 Pythons? (2.7 & 3.1.2)

news.ycombinator.com

1–10 of 29 posts

Re: Ask HN: Why are there 2 Pythons? (2.7 & 3.1.2)

#2
If you're doing something completely new that will never interact with older code bases, Python 3 seems like the best choice. This is where the language is ultimately going.

However, if you have to integrate with almost anything in 2.x land, such as 3rd party libraries, you may have no choice but to keep using 2.x for awhile. As usual, even from this older version, there are ways to voluntarily import future capabilities so that your code is as 3.x-like as possible.

Re: Ask HN: Why are there 2 Pythons? (2.7 & 3.1.2)

#6

Python 3 is not backwards compatible with Python 2. The developers have always stated that Python 3 will be a 5 year project until the entire standard library is ported.

I think you mean to say "until third party libraries get migrated". The standard library is already migrated.

Re: Ask HN: Why are there 2 Pythons? (2.7 & 3.1.2)

#9
post #8

why can't you look in the obvious places to answer such a question without asking that on HN? (hint: Python.org and Google) (no ill will, but an honest counter-question)

karma?

less cynically ... perhaps the poster wanted the personal opinions of HN hackers, many of whom probably have first-hand experience with Python and might be able to give more personalized answers than what's on FAQ pages

Re: Ask HN: Why are there 2 Pythons? (2.7 & 3.1.2)

#10
post #9
post #8

Earlier quoted context omitted.

karma?

less cynically ... perhaps the poster wanted the personal opinions of HN hackers, many of whom probably have first-hand experience with Python and might be able to give more personalized answers than what's on FAQ pages

ahhh, k.

so if that's the case, here's what I should do. i'll begin preparing a series of questions to post to HN in the coming weeks, to keep in the same spirit. Rough list to start with:

1. where do babies come from?

2. what is PageRank?

3. what sorts of languages can you write iPhone apps in such that they are allowed in the Apple store?

4. why might I want to write an app in C versus in BASIC?

i'll add more as the whim comes to me. ;)

Post reply on HN