[Pythonmac-SIG] How to find correct Carbon module(s)?

Ronald Oussoren oussoren at cistron.nl
Thu Feb 26 01:38:11 EST 2004


On 25-feb-04, at 22:45, Jack Jansen wrote:

> If I'm not mistaken that's the answer to the first question (The 
> '_Win' bits aren't optimal, but that can probably be fixed into 
> Carbon.Win somehow), but the real problem is the second one: how do I 
> find all the methods of all the objects, and put them in my namespace?

I'm probably very dense, but why do you need to do that? The 
_Win.Window bit in the repr of the method is the tp_name of 
_Win.Window, if you change that the repr of methods also change (see 
Objects/descrobject.c)

Ronald
--
X|support bv            http://www.xsupport.nl/
T:  +31 610271479       F:  +31 204416173




More information about the Pythonmac-SIG mailing list