"Roger Upole" <rup...@hotmail.com> wrote in message 
news:ilbjrn$f6k$1...@dough.gmane.org...
>
> "Tim Golden" <m...@timgolden.me.uk> wrote in message 
> news:4d78b66d.9080...@timgolden.me.uk...
>> On 10/03/2011 11:29, Tim Golden wrote:
>>> On 09/03/2011 16:40, Graham Bloice wrote:
>>>> The dll adsi.pyd is missing from the 216 build for Python 3.2. I've
>>>> checked both the 32 and 64 bit variants and it's missing from both.
>>>
>>> Roger Upole can obviously speak for himself, but in a email
>>> conversation I had with him a while back, he said that they hadn't
>>> been able to build it because of an issue with the version
>>> of SWIG they were using (or something). IOW, even if you were
>>> to build pywin32 yourself, it still won't be there: it's not just
>>> a distribution issue.
>>
>> And, to clarify, I mean that it couldn't be built under Python 3.x;
>> ie adsi should be present in all Python 2.x builds and won't be
>> present in any python 3.x build.
>>
>> TJG
>
> That sums it up pretty well.
>
> Here's the longer version:
> The SWIG in Pywin32 had been customised to accomodate
> COM objects that inherit from another interface.  Somewhere
> along the line, the source code has been lost, so when I ported
> SWIG to Python 3, I had to start from a clean source tree.
>
> It should be possible to reverse engineer the custom code from
> the output generated for Python 2, but nobody's had time to
> do so yet.
>
>     Roger

I took a look at this some more, and was able to get adsi built
for python 3.1 using the module (adsi.cpp) as generated by the Py3k port
of swig, and the interfaces (PyIADs****.cpp) as generated by the
Python2 version of Swig, with just a few manual modifications.
If anybody needs adsi for Py3k really badly, we could "un-swig" it
temporarily.

On an ironic note, I was going to see how much work it would
take to duplicate the lost custom code in our Py3k port of swig,
but I seem to have lost the source code somehow ....

           Roger



_______________________________________________
python-win32 mailing list
python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32

Reply via email to