Re: [Pyobjc-dev] NSTextView weirdness
Brought to you by:
ronaldoussoren
From: <bb...@ma...> - 2002-11-13 21:24:40
|
Is it the case that the class object is being released to the point of death by the NSInvocation (and, subsequently, by the Python wrapper for the ObjC object)? No... that isn't it... more like NSTextView.alloc() is returning something similar to NSArray.alloc() that behaves in a slightly different and more volatile fashion? Nuts. Yes, this was a part of debugging Steve's earlier problem and it still doesn't address that problem. > If I evaluate NSTextView.setEditable_ before calling obj.setEditable_ > all goes well. I'm still checking why this is necessary. I have not a clue and will be quite interested in the answer! b.bum On Wednesday, November 13, 2002, at 04:16 PM, Ronald Oussoren wrote: > Some more debugging shows: > > The test code is too complex, the code below also causes a crash: > > from AppKit import NSTextView > NSTextView.alloc() > > ..... |