Contributing Mac OS X packages to PyPI

2009-11-04 Thread Ben Gollmer
I have built universal binary packages for Python-LDAP 2.3.10 on both Mac OS X 10.5 (Python 2.5) and 10.6 (Python 2.6). Is it possible to add these to the PyPI page, to go along with the Windows installers? They can be very useful for users that don't have Xcode / gcc installed. Cheers, --

Re: connection pooling

2009-11-04 Thread Michael Ströder
Anil wrote: > I am looking to do connection pooling and am thinking of doing something > like http://www.sqlalchemy.org/docs/05/reference/sqlalchemy/pooling.html > > Can you guys give some advice and/or better yet, has someone already > done this? I don't know any connection pooling for python-

Re: How to modify several dn in one time

2009-11-04 Thread Michael Ströder
Zhang Huangbin wrote: > it seems .modify() or .modify_s() can only modify one dn in one time. > How can i modify several dn in one time? You can't. These methods strictly follow the LDAP functional model (see RFC 4511, section 4.6. Modify Operation). > Such as ldapadd command: > > # ldapadd -x

Re: Compile error on RHEL 5.3 (x86_64), python-ldap-2.3.10

2009-11-04 Thread Michael Ströder
Zhang Huangbin wrote: > > I got below compile error on Red Hat Enterprise Linux 5.3 (x86_64) > with python-ldap-2.3.10, but 2.3.8 was compiled and installed success. > What's wrong with it? > > Modules/constants.c:184: error: ‘LDAP_OPT_X_TLS_NEWCTX’ undeclared Well, I asked for testing long

Compile error on RHEL 5.3 (x86_64), python-ldap-2.3.10

2009-11-04 Thread Zhang Huangbin
Hi, list. I got below compile error on Red Hat Enterprise Linux 5.3 (x86_64) with python-ldap-2.3.10, but 2.3.8 was compiled and installed success. What's wrong with it? # easy_install python-ldap==2.3.10 Searching for python-ldap==2.3.10 Reading http://cheeseshop.python.org/pypi/python-ld