Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compatibility on Python 3? #1

Open
FlipperPA opened this issue Sep 9, 2015 · 1 comment
Open

Compatibility on Python 3? #1

FlipperPA opened this issue Sep 9, 2015 · 1 comment

Comments

@FlipperPA
Copy link

I'm watching Scot Hacker's talk at DjangoCon 2015 right now. We do a fair amount of work with LDAP at Wharton as well. python-ldap is only compatible with Python 2.x. There are some Python 3 forks written, however, there's also ldap3 which is compatible with both Python 2 + 3: https://ldap3.readthedocs.org/

...and you just got to the slide where this is addressed! Let's chat, regardless. Good meeting you!

@shacker
Copy link
Contributor

shacker commented Sep 10, 2015

Good to meet you too @FlipperPA . I only experimented with Python3 briefly, as there were other factors that forced us to remain on Python2 for now. In my brief experiment, it seemed like ldap3 would require refactoring all of our LDAP calls, which would in turn mean refactoring cca_utils with two separate modules for the different python versions (ldap3 may work on both python 2 & 3, but but its syntax is quite different from python-ldap). However, if you're able to put in time on this and it turns out I'm wrong, that would be excellent.

Good meeting you. You can reach me as shacker on twitter and we can continue the discussion offline.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants