On 03/07/2011 11:19 AM, Michael Ströder wrote:
> Rich Megginson wrote:
>> RHEL does not include pyasn1.  But it is extremely useful for
>> extops/controls - doing BER codec by hand is not fun.
> Yupp!
>
>>   A mid-way
>> approach would be to expose the liblber ber_scanf/ber_printf and support
>> functions in python.
> Also an idea we already had. But I'm not a C programmer. So I'll stay away
> from that myself.
>
> But I will happily add a nice Python layer on top of your code. ;-}
> Make the C wrapper code as lean as possible.
The biggest problem I see is how to pass in arguments to the varadic 
functions ber_scanf and ber_printf from python without completely 
rewriting those functions to accept an array of format specifiers and a 
corresponding array of values/pointers.  It may be easier to just bite 
the bullet and add pyasn1 . . .
>> If you do decide that it is necessary for python-ldap to use pyasn1, we
>> can work on getting it into RHEL.  The Fedora python-pyasn1 maintainer
>> is one of the guys on the freeipa team which uses python-ldap heavily.
> Noted.
>
> Ciao, Michael.


------------------------------------------------------------------------------
What You Don't Know About Data Connectivity CAN Hurt You
This paper provides an overview of data connectivity, details
its effect on application quality, and explores various alternative
solutions. http://p.sf.net/sfu/progress-d2d
_______________________________________________
Python-LDAP-dev mailing list
Python-LDAP-dev@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/python-ldap-dev

Reply via email to