Live data from Hacker News

The first Django site to run on Python 3

myks.org

31–40 of 59 posts

Re: The first Django site to run on Python 3

#31
post #26

Earlier quoted context omitted.

I'm apathetic, but please let's not start the trend of self-aware "downvote me" or "why the downvotes?" comments on this website. I'm of the opinion that it's needless, manipulative clutter.

I agree that the former is clutter, but the latter is good, as long as the commenter is clearly trying to learn from/correct whatever mistake they had made. e.g. "This is being downvoted and I don't understand why. Could someone please explain the problem?" or "Why the downvotes? Is it because ...?"

I guess I prefer the fire-and-forget approach, only going back to edit my own comments for spelling and grammar ("EDIT: ... EDIT 2: ... is sort of grating to me). You make a good point though, and I don't believe that comment-self-awareness is universally an attempt at manipulation.

Re: The first Django site to run on Python 3

#32
post #11
post #2

Not only a major boost for Python 3 adoption but also a reference for how Unicode handling [1] can be successfully ported from Python 2.x libraries. They seem to be on schedule as well, which is brilliant [2]. [1]: http://wiki.python.org/moin/PortingDjangoTo3k [2]: https://www.djangoproject.com/weblog/2012/mar/13/py3k/

yeah we already had in Pyramid 1.3 for ages ;-) I can never be surprised enough how people are excited about django features that others take for granted.

Do you think they are excited because they are amazed a framework could do such things or maybe because they are happy that the framework they use can now do such things?

Does anyone get excited at the mere thought that some framework, somewhere has a particular feature? If you aren't using Pyramid then what good does it do you?

Re: The first Django site to run on Python 3

#33
post #3

Well, the authors of frameworks and libraries still on Python 2 and without having concrete upgrade plans will have to either do something soon or others will take their space. Python 3 is here, now.

Until Numpy and Scipy are on Python 3, I'm going to reserve judgement. Python 3 might be here, now, for some things, but there are enough essential libraries out there that aren't, that it's not for most.

Re: The first Django site to run on Python 3

#34
post #3

Well, the authors of frameworks and libraries still on Python 2 and without having concrete upgrade plans will have to either do something soon or others will take their space. Python 3 is here, now.

Until Numpy and Scipy are on Python 3, I'm going to reserve judgement. Python 3 might be here, now, for some things, but there are enough essential libraries out there that aren't, that it's not for most.

I think they already are: http://scipy.github.com/faq.html#do-numpy-and-scipy-support-...

Also, Python 3 will be shipped with the next ubuntu version https://wiki.ubuntu.com/QuantalQuetzal/TechnicalOverview/Alp...

Re: The first Django site to run on Python 3

#35
post #3

Well, the authors of frameworks and libraries still on Python 2 and without having concrete upgrade plans will have to either do something soon or others will take their space. Python 3 is here, now.

Until Numpy and Scipy are on Python 3, I'm going to reserve judgement. Python 3 might be here, now, for some things, but there are enough essential libraries out there that aren't, that it's not for most.

A trivial search would show that they are on Python 3 (and have been for some time now).

Re: The first Django site to run on Python 3

#36
Heck yeah! My startup uses python heavily, and it's ALL Python3 except for the public-facing website... which is currently Django1.4+Python2.7. As recently as six weeks ago, I tried porting it over, and had to abandon the effort... as soon as this gets stable enough, you can bet we'll make the switch.

Re: The first Django site to run on Python 3

#37
post #3

Well, the authors of frameworks and libraries still on Python 2 and without having concrete upgrade plans will have to either do something soon or others will take their space. Python 3 is here, now.

Until Numpy and Scipy are on Python 3, I'm going to reserve judgement. Python 3 might be here, now, for some things, but there are enough essential libraries out there that aren't, that it's not for most.

Almost all the Python code I've written in the past year has been in Python 3. The libraries you mention have been ported already, as have many other important ones, such as sqlalchemy, lxml, httplib2, and imminently, Django.

Very early on I had plenty of headaches where some library I needed was Python 2.X only, but that's becoming increasingly rare.

Edit: s/eminently/imminently/

Re: The first Django site to run on Python 3

#38
Relatedly, what's the correct way to install Python 3 on a Linux server (debian based) so I can try this? while keeping Python 2.x.

The last time I tried doing that I ended up in some weird quagmire with the LD_LIBRARY_PATH being messed up. There must be a standard way to install it?

Re: The first Django site to run on Python 3

#40

Relatedly, what's the correct way to install Python 3 on a Linux server (debian based) so I can try this? while keeping Python 2.x. The last time I tried doing that I ended up in some weird quagmire with the LD_LIBRARY_PATH being messed up. There must be a standard way to install it?

What's wrong with:

apt-get install python3

It's always worked for me.

Post reply on HN