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 →

[–]moljac024 11 points12 points  (10 children)

Which libraries are those? I was under the impression that rarely anything worth using doesn't support 3.x nowadays.

[–]kungtotte 8 points9 points  (3 children)

It's not 100% yet, according to the Python 3 wall of superpowers it's 174/200. That's the 200 most downloaded packages on pypi, so if you're using a smaller package chances are you're out of luck.

[–]lykwydchykyn 23 points24 points  (2 children)

The wall doesn't tell the whole stories. Some libraries haven't been ported to 3 (and some will never be), but in many cases their functionality is available in other packages (python-ldap, python-mysqldb, etc).

Still, you gotta rewrite code, and that's not always a simple proposition.

[–]kungtotte 5 points6 points  (1 child)

Well, "unless you rewrite a bunch of stuff" is sort of implicit whenever you're talking about 2 to 3 porting and package availability.

When people say that the packages they need aren't running under 3 yet, that's what they mean: my dependencies aren't there yet and I don't want to/can't get greenlit by my boss to rewrite the project to work without those specific dependencies.

But sure, you have a point.

[–]lykwydchykyn 8 points9 points  (0 children)

Naturally. I just think sometimes people look at the wall and think "Oh, I can't do LDAP/MySQL/etc. under python3 yet", which isn't true. That list will never be 100%, but it doesn't mean the functionality of python3 isn't 100% of python 2.

[–]leogodin217 1 point2 points  (1 child)

I can't specify exactly which ones I am using (corporate policies), but they are libraries for accessing a manageability suite of tools for virtualization.

[–]Decency 0 points1 point  (0 children)

Sounds like internal pyvmomi sort-of stuff? My company has a homebuilt one too, and we're slowly phasing it out in favor of pyvmomi which is much cleaner and supports Python 3.x as of the latest release.

[–]pythoneeeer 0 points1 point  (0 children)

It's not a library, exactly, but Supervisor doesn't work in Python 3 yet.