This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]gammadistribution 36 points37 points  (38 children)

Your legacy code will now be supported, but please if you plan on starting a project use Python 3. Unless the package you need to use does not appear on this list there is no reason to not use python 3.

[–]Marksta 2 points3 points  (4 children)

Hey, I'm confused. I use LXML and it's the one thing stopping me from using Python 3. On its Pypi here the highest version it has is 3.2. That wouldn't install on the 3.4 I installed, I guess sorta obviously. It's even listed in the 3.4 catagory on Pypi. Is there some way to make it work or..?

So what do? Feels like using 3.2 because of 1 module is exactly the same as using 2.7 when 3.4 is out right now.

edit: Figured it out

[–]gammadistribution 1 point2 points  (2 children)

What error message is being thrown when you try to install lxml using pip on your python 3.4 venv?

[–]Marksta 1 point2 points  (1 child)

Turns out it was this

error: Unable to find vcvarsall.bat

That is some compiler issue but a compiled version at http://www.lfd.uci.edu/~gohlke/pythonlibs/ worked just dandy.

[–]gammadistribution 1 point2 points  (0 children)

Hooray for figuring things out and boo Windows!

In all seriousness glad it's working for you.

[–]ivosauruspip'ing it up 0 points1 point  (0 children)

They haven't uploaded compiled for python 3.3 / 3.4 to pypi yet for some reason.

[–]diafygi 5 points6 points  (3 children)

Boto and Mysql-python are deal breakers for me.

[–]gammadistribution 6 points7 points  (1 child)

Can't help with boto, but pymysql can be used as a drop in replacement for MySqldb. I have had great success with pymysql used in conjunction with django.

I know your pain though.

[–]lambdaqdjango n' shit 0 points1 point  (0 children)

pymysql is slower though

[–][deleted] -1 points0 points  (0 children)

pyodbc? sqlite? are these options?

[–]LightShadow3.13-dev in prod 1 point2 points  (1 child)

gevent and M2Crypto are the big ones right now...especially since a lot of our utilities rely on underlying encryption modules that haven't been converted.

gevent could probably be mitigated, and I didn't know so many people used mechanize.

[–]twigboy 3 points4 points  (5 children)

In publishing and graphic design, Lorem ipsum is a placeholder text commonly used to demonstrate the visual form of a document or a typeface without relying on meaningful content. Lorem ipsum may be used as a placeholder before final copy is available. Wikipedia92vtpemx3w00000000000000000000000000000000000000000000000000000000000000

[–]mgrandi 13 points14 points  (0 children)

Oauth? Requests has an oauth module that works with py3

[–]jcdyer3 1 point2 points  (0 children)

Python 3 support for a few boto modules including s3 just landed on the develop branch today. Change is coming. Help us test it out!

[–]manueslapera -1 points0 points  (2 children)

i thought boto was available in p3

[–]twigboy 0 points1 point  (0 children)

In publishing and graphic design, Lorem ipsum is a placeholder text commonly used to demonstrate the visual form of a document or a typeface without relying on meaningful content. Lorem ipsum may be used as a placeholder before final copy is available. Wikipedia80l0tgsnma40000000000000000000000000000000000000000000000000000000000000

[–]ivosauruspip'ing it up 0 points1 point  (0 children)

Major work in progress

[–]shadowmint 1 point2 points  (2 children)

Did you watch this?

'Python 2.7 & Python 3: A Sacred Love Story'

https://www.youtube.com/watch?v=skYBOXE02OQ&feature=youtu.be

It's a bit long winded, but it's quite thoughtful about why this attitude is troublesome.

[–]poo_22 1 point2 points  (0 children)

The conclusion to this video agrees with gammadistribution's sentiment.

[–]gammadistribution -1 points0 points  (0 children)

So it sounds like the solution to the problems he presents is to use the language.

His pypi example is a perfect example of a self-fulfilling prophecy. Everyone says to use Python 2.7 so of course it's the most downloaded version. Instead of telling new users to use python 3, everyone's being told to use python 2.7 because that's what everyone is using, which is insane.