Re: Python3 and LDAP

2009-09-24 Thread David Leonard




Yes, I think so. I outlined a plan somewhere.. 
The big compatibility problem is that where you once used Python2.x's
strings ("str") to pass binary data, you would now have to use
Python3's "bytes".
And, other places where you would pass strings (like for attribute
names) you might now have to pass unicode strings and python-ldap would
convert these to UTF-8 under the covers.
The other minor compatibility issue was that there is no 'int' in
Python3, only longs now, but that turns out to be hardly noticeable.

But going back to the bytes/string/unicode problem, I'd like to know if
anyone has 2to3 migration/porting experience and if they might share
some advice/wisdom.

d

Bruno Aguirre wrote:
My hability to code a Python module is limited. But im
glad to give a hand.
  
Looking in the list i saw that someone said that the actual Python-ldap
can be build for Python 3 modifying some lines. Is this possible? Ar
there alternatives?
  
  2009/9/9 Michael Strder mich...@stroeder.com
  
Bruno Aguirre wrote:

 Hi to all, I'd like to know if there's a version (alpha, beta or
stable)
 to use ldap in python 3.


There are still some things to consider. Please dig the mailing list's
archive
for some discussion.

Would you personally be willing to put some effort into the C extension
module
part?

Ciao, Michael.

  
  
  





--
Come build with us! The BlackBerryreg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9#45;12, 2009. Register now#33;
http://p.sf.net/sfu/devconf___
Python-LDAP-dev mailing list
Python-LDAP-dev@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/python-ldap-dev


Re: Python3 and LDAP

2009-09-10 Thread Bruno Aguirre
My hability to code a Python module is limited. But im glad to give a hand.

Looking in the list i saw that someone said that the actual Python-ldap can
be build for Python 3 modifying some lines. Is this possible? Aré there
alternatives?

2009/9/9 Michael Ströder mich...@stroeder.com

 Bruno Aguirre wrote:
 
  Hi to all, I'd like to know if there's a version (alpha, beta or stable)
  to use ldap in python 3.

 There are still some things to consider. Please dig the mailing list's
 archive
 for some discussion.

 Would you personally be willing to put some effort into the C extension
 module
 part?

 Ciao, Michael.


--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july___
Python-LDAP-dev mailing list
Python-LDAP-dev@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/python-ldap-dev


Re: Python3 and LDAP

2009-09-09 Thread Michael Ströder
Bruno Aguirre wrote:
 
 Hi to all, I'd like to know if there's a version (alpha, beta or stable)
 to use ldap in python 3.

There are still some things to consider. Please dig the mailing list's archive
for some discussion.

Would you personally be willing to put some effort into the C extension module
part?

Ciao, Michael.

--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
Python-LDAP-dev mailing list
Python-LDAP-dev@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/python-ldap-dev