Re: [Pyobjc-dev] GNUstep.
Brought to you by:
ronaldoussoren
From: Ronald O. <ous...@ci...> - 2003-01-05 14:13:37
|
On Sunday, Jan 5, 2003, at 14:28 Europe/Amsterdam, Mirko Viviani wrote: > Ronald Oussoren <ous...@ci...> ha scritto: > >>> How to proceed ? >> Lot's of ifdefs is not the right solution. The code in class-builder.m >> should use the definitions from objc_support.h instead of the native >> Apple/NexStep definitions. Hopefully this mechanism solves most of >> your >> problems. > > Ok, I've modified all the code to use objc_support. There are yet some > GNU_RUNTIME/GNUSTEP but it is much much better now. > > The runtime support, apart for bugs and missing objc_addClass() > implementation, > should be quit ok, but unfortunately it dumps core: You might want to rebuild python with debugging enabled (or at least building with '-g'), that makes debugging a lot easier. The stacktrace doesn't mention PyObjC code, which of course doesn't help in finding the problem :-(. You may want to add lots of print statements to dictionary.py, to check how far into the script python is crashing. This script doesn't use python subclassing, which rules out problems in class-builder.m. Ronald |