I'm not tracking the pyobjc2 sources very closely, so forgive me if
this has already been fixed....
I noticed that the PyInterpreter example from pyobjc2 no longer works
in pyobjc2. It appears that NSAnyEventMask (imported from AppKit)
depythonifies as -1 (type int) rather than an unsigned int, thus
causing an exception when it's used as a parameter to
NSApplication.nextEventMatchingMask_untilDate_inMode_dequeue_.
Changing NSAnyEventMask to 0xffffffff (its definition, per the docs)
appears to solve the problem. Is this a BridgeSupport issue?
Barry
|