Re: [Pyobjc-dev] Snapshots
Brought to you by:
ronaldoussoren
From: Ronald O. <ous...@ci...> - 2002-10-11 07:19:38
|
On Thursday, Oct 10, 2002, at 21:26 Europe/Amsterdam, Bill Bumgarner wrote: > I'm able to cause a bus error from just the objc module. However, the > actual ObjC interface side of things seems to work fine -- it seems to > be some kind of a pure Python related problem.... I've done some experiments and it seems to be related to the garbage collector (the 'gc' module). If I call 'gc.disable()' before using the objc module python doesn't crash. The current HEAD contains a workaround in Modules/objc/__init__.py that calls gc.disable() when the python version is 2.2.0. This is a bit of a hack, but at least allows you to use the Apple version of python. BTW. This may be a bug in PyObjC but it could also be a bug in Python 2.2.0 that is triggered by our code. Ronald |