News for hackers. Stuff that matters.
Re:PythonMonk – Learn Python in the browser by pekk on Thursday April 04, 2013 @01:41PM (#5493971)
It is 2013. Why are you teaching Python 2?
Re:PythonMonk – Learn Python in the browser by teach on Thursday April 04, 2013 @03:08PM (#5494616)
"A programmer may try to get you to install Python 3 and learn that. You should tell them, 'When all of the python code on your computer is Python 3, then I'll try to learn it.' That should keep them busy for about 10 years."

- Zed Shaw, "Learn Python the Hard Way"

Re:PythonMonk – Learn Python in the browser by metaphorm on Thursday April 04, 2013 @01:55PM (#5494085)
while I agree that we should be more proactive about migrating to Python 3, if you're trying to be pragmatic it is most useful to teach Python 2.7 since that is the most widely used version.
Re:PythonMonk – Learn Python in the browser by pekk on Thursday April 04, 2013 @02:04PM (#5494147)
Python 3, in 2013, is not lacking in pragmatism. It's not new, or experimental. Someone just learning today is going to have to immediately turn around and relearn things because they started out with an old version.
Re:PythonMonk – Learn Python in the browser by lawnchair_larry on Thursday April 04, 2013 @02:19PM (#5494269)
Clearly you are not a python developer. This isn't correct at all. First, there is nearly nothing to relearn if you target 2.7.

http://docs.python.org/3/howto/pyporting.html#use-same-sourc...

Second, most software of any complexity will have dependencies. Although progress has been made, several packages that many projects depend upon are still red:

http://python3wos.appspot.com/

Re:PythonMonk – Learn Python in the browser by anandology on Thursday April 04, 2013 @02:13PM (#5494218)
I'm teach Python professionally. People come to learn Python so that they can go back and use it at their work place. And almost all Python installations in productions are in Python 2. I'm sure it is going to change soon once Linux distributions make Python 3 their default version.

P.S. I'm the author of Python Primer on pythonmonk.com

Re:PythonMonk – Learn Python in the browser by jace on Thursday April 04, 2013 @02:16PM (#5494241)
I don't know anyone who uses Python 3 in production. It's still seen as an experimental implementation.
Re:PythonMonk – Learn Python in the browser by kracekumar on Thursday April 04, 2013 @03:50PM (#5494831)
Re:PythonMonk – Learn Python in the browser by emidln on Thursday April 04, 2013 @02:28PM (#5494342)
I've seen more installs of pypy in production than python3.
Re:PythonMonk – Learn Python in the browser by msellout on Friday April 05, 2013 @04:14AM (#5497264)
Not experimental, just that there are good libraries that aren't Py3k yet.
Re:PythonMonk – Learn Python in the browser by melling on Thursday April 04, 2013 @03:52PM (#5494842)
I dont' know Python but I'm thinking about learning it. What's experimental about Python 3? I don't have any legacy reasons to start with 2.7. Why wouldn't I just start with 3?
Re:PythonMonk – Learn Python in the browser by metaphorm on Thursday April 04, 2013 @04:33PM (#5495114)
there's nothing experimental about Python 3. its a stable release version and I think its already up to sub version 3.3.

HOWEVER, there are many important 3rd party libraries that have not yet been migrated to be fully compatible with Python 3. these libraries are far more important to writing real applications than the ability to use some newer syntactic constructs in Python 3.

Re:PythonMonk – Learn Python in the browser by callahad on Thursday April 04, 2013 @04:56PM (#5495270)
> HOWEVER, there are many important 3rd party libraries that have not yet been migrated to be fully compatible with Python 3.

Are there any particular libraries blocking you? Numpy / SciPy, IPython, Requests, Django, Pyramid, Bottle, etc. have all been ported to Python 3.

Re:PythonMonk – Learn Python in the browser by metaphorm on Thursday April 04, 2013 @08:01PM (#5496071)
South (database migration for django). Until django core has its own migration tool I won't be using it with Python 3.

PIL as well. similar reasons. django image fields are dependent on PIL.

Celery is still on Python 2 also, and while there are other message queues available, none of them is as easy to integrate with for an app that's already written in Python.

Re:PythonMonk – Learn Python in the browser by dorolow on Thursday April 04, 2013 @08:38PM (#5496182)
To replace PIL you should try Pillow, a fork of PIL that is capable of running on py3k (and 2.x).
Re:PythonMonk – Learn Python in the browser by wodow on Thursday April 04, 2013 @06:31PM (#5495708)
The Python 3 Wall of Superpowers / Shame lists them for you in order of downloads: http://python3wos.appspot.com/
Re:PythonMonk – Learn Python in the browser by packetslave on Thursday April 04, 2013 @07:01PM (#5495856)
To be fair, Django only supports Python 3 as of 1.5, which was released a bit more than a month ago.
Re:PythonMonk – Learn Python in the browser by reinhardt on Thursday April 04, 2013 @02:30PM (#5494370)
"immediately"? Try again in two-three years, if that.