[Bf-python] Re: Python Ipocurve/CurNurb module changes

Ken Hughes khughes at pacific.edu
Thu Jun 30 19:28:19 CEST 2005


Stephen Swaney wrote:
> On Tue, Jun 21, 2005 at 01:36:29PM -0700, Ken Hughes wrote:
>> Stephen Swaney wrote:
>>>
>>>One thing on my list is to replace the string-lookup getattr code with
>>>PyGetSetDef tables in tp_getset member of the py object struct.  The
>>>string based attr stuff is legacy code from when that was the only way
>>>to do it.  Time to get with the python type=>class migration.  I
>>>started doing this for CurNurb.  I can check it in if you need an
>>>example.
>>
>>Yes, if you can check in what you have (or send me a copy to look at)
>>it would help.  I was playing with these this morning and I'm not sure
>>I'm happy with how I got it to work.  Depending on how far along you
>>are (and if you want to), I can take this on (finishing the implementation
>>in CurNurbs) as well.
> 
> I will get the CurNurb tp_getset stuff checked in.  Then you can go wild!

Stephen:

I'm back in town and working on the CurNurb.c changes; are your tp_getset
changes checked into CVS?

Ken



More information about the Bf-python mailing list