Live data from Hacker News

The first Django site to run on Python 3

myks.org

21–30 of 59 posts

Re: The first Django site to run on Python 3

#22
post #19
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.

> 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. Do you know of anything new on PIL ( http://www.pythonware.com/products/pil/ ) ? Or any similar library that might replace it for Python 3?

Pillow (https://github.com/python-imaging/Pillow) is a fork of PIL. If you look at recent commits, you'll see one that claims to make it more Python 3 friendly, but not quite Python 3 compatible because of differences in the C code. So maybe a good opportunity for someone to jump in and fix that.

Re: The first Django site to run on Python 3

#23
post #19
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.

> 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. Do you know of anything new on PIL ( http://www.pythonware.com/products/pil/ ) ? Or any similar library that might replace it for Python 3?

There's what claims to be a Python 3 version of the codebase on Christoph Gohlke's Python packages for Windows page (http://www.lfd.uci.edu/~gohlke/pythonlibs/#pil). I haven't tested it.

Re: The first Django site to run on Python 3

#24

So glad to see python 3 being adopted more and more by major web frameworks. This might be the wrong place to ask, but have there been any updates on python 3's wsgi or flask support? I've been out of the loop.

PEP 3333.

Armin Ronacher has long been grumpy about Python 3 so don't count on a Flask port any time soon

Re: The first Django site to run on Python 3

#25

So glad to see python 3 being adopted more and more by major web frameworks. This might be the wrong place to ask, but have there been any updates on python 3's wsgi or flask support? I've been out of the loop.

python 3's wsgi support is what is enabling frameworks like pyramid and now django to finally move forward with python 3. that only happened like a couple of years ago.

Re: The first Django site to run on Python 3

#26
post #5

Best thing I've seen all day. (Go ahead and downvote me, this comment has absolutely value, yet despite knowing that I'm so happy I still feel compelled to post it. :)

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 ...?"

Re: The first Django site to run on Python 3

#27
post #4

Awesome, good to see this move forward. However, what is the django ecosystem support like?

That's the next step - authors of 3rd party apps will need to port their code. We've started putting together some documentation to help authors write single-source code (i.e. code that runs on both 2.6+ and 3.2+). The idea is that they'll use the tools we did, plus the things we learned, to port their apps. https://docs.djangoproject.com/en/dev/topics/python3/ is a start on that documentation, and hopefully we can flesh it out even more for 1.5.

Re: The first Django site to run on Python 3

#28

So glad to see python 3 being adopted more and more by major web frameworks. This might be the wrong place to ask, but have there been any updates on python 3's wsgi or flask support? I've been out of the loop.

PEP 3333. Armin Ronacher has long been grumpy about Python 3 so don't count on a Flask port any time soon

Ok, this is mostly what I was curious about. Shame because I love flask, yet I agree with a lot of his python 3 opinions :(

Re: The first Django site to run on Python 3

#29
post #19
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.

> 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. Do you know of anything new on PIL ( http://www.pythonware.com/products/pil/ ) ? Or any similar library that might replace it for Python 3?

There is also Wand (http://dahlia.kr/wand/index.html), which, while still alpha, is a very nice ctypes-based, MagickWand API binding. It is also available in pypi, so is easy to install. Support for Python 3 is near-term goal of the project.

Re: The first Django site to run on Python 3

#30
We are a django shop and I have been concerned about the transition to python 3 for our projects as well as the community in general. Even though I don't think this the end all for a migration, it is a really promising sign. Nice to see this transition starting to occur in the django world.
Post reply on HN