broken modules (was: Re: [Pythonmac-SIG] CFURL Pain)

Donovan Preston dp at
Thu Mar 3 07:09:17 CET 2005

On Mar 2, 2005, at 1:02 PM, has wrote:

>> It's already there, so it's not going anywhere in 2.4.  The 
>> justification is that people *did* ask for an OSA wrapper -- I 
>> believe you were one of the larger proponents.
> No, I wanted a Python OSA component. Different thing. The only person 
> I know was asking for an OSA wrapper was Donovan, and he went off to 
> work on Nevow yonks ago and AFAIK never did anything with it.

I wanted an OSA module so that it would be possible to write a Python 
OSA component using a more inside out approach. Writing a Python OSA 
component is going to require accessing much of the functionality in 
OSA.h from Python, and bgen is a reasonably expedient way to expose 
Carbon headers in the Universal Headers format. Unfortunately, unless 
you try the resulting module, things do tend to be broken without 
manual tweaking.

I was able to write bgen wrappers for CarbonEvents and IBCarbon and 
tweak the bgen module by hand until the resulting modules were actually 
usable for trivial applications, but obviously nobody ever tried this 
with the OSA module.

I am still interested in producing a Python OSA component, hopefully 
with the OSA module, but unfortunately it is a lot more work than I 
have free time for at the moment. I lost my drive to work on it when it 
became clear that HAS was far more energetic in this space than I was, 
and HAS didn't seem willing to listen to what I had to say about the 
subject or collaborate with anybody.


More information about the Pythonmac-SIG mailing list