On Aug 23, 2007, at 1:45 AM, Ronald Oussoren wrote:

>
> On 22 Aug, 2007, at 21:42, [EMAIL PROTECTED] wrote:
>
>>
>> How are all the extension modules in Mac/Modules generated?  I'm  
>> trying to
>> remove PyArg_Parse() from the Python 3 C API.  They use PyArg_Parse
>> extensively.  If they were autogenerated I'd rather fix the generator
>> instead of editing each file by hand.
>
> They are generated using bgen, which is in Tools/bgen/bgen. The  
> last time I looked at this (which is a couple of years ago) you  
> basicly had to be Jack to run this :-(. You also have to have the  
> MacOS9 SDK headers, bgen doesn't look at the system headers at the  
> moment.

I see PyArg_Parse... being generated from there. Maybe its just a  
matter of changing it in the two or three places? Although, I am not  
sure what your doing.

I was curious and also found this doc from MacPython:

<file:///localhost/Developer/Examples/Python/MacPython/plugins.html>

Mentions bgen and something called Modulator. Also I notice in the  
bgen module README it states something about not being mac-specific.  
This must not be true.

I wonder if FlatCarbon headers could be used instead of MacOS9 SDK.

I do not have any answers but I too am trying to get up to speed how  
all this works.

Brian Ray
[EMAIL PROTECTED]
http://kazavoo.com/blog
_______________________________________________
Pythonmac-SIG maillist  -  Pythonmac-SIG@python.org
http://mail.python.org/mailman/listinfo/pythonmac-sig

Reply via email to