Re: [Pythonmac-SIG] Integrating aemreceive into a class--help

2010-01-14 Thread has
> Kevin Walzer wrote: > >> You don't pass self to a bound method in Python. Delete the ('', 'self', >> ...) tuple. > > My app crashes when I do that. Here's the error message: > > TypeError: Can't install event handler 'CoKvdman': expected 2 parameters > but function 'getDomain' has 1. Ah,

Re: [Pythonmac-SIG] 10.6: platform.mac_ver() broken

2010-01-14 Thread Thijs Triemstra | Collab
I tested with my own compiled Python 2.6.4, which returns: Python 2.6.4 (r264:75706, Dec 22 2009, 21:55:52) [GCC 4.2.1 (Apple Inc. build 5646)] on darwin Type "help", "copyright", "credits" or "license" for more information. >>> import platform >>> platform.mac_ver() ('10.6.2', ('', '', ''), 'i38