Re: [Pyobjc-dev] NSCoding support for Python objects
Brought to you by:
ronaldoussoren
|
From: Barry W. <bar...@gm...> - 2008-05-02 01:07:46
|
Thanks, Ronald. This is a big one. Keep up the good work. barry On Thu, May 1, 2008 at 1:39 AM, Ronald Oussoren <ron...@ma...> wrote: > Hi, > > I've just commited a patch that adds support for the NSCoding support to > the OC_Python* classes that bridge Python objects into the Objective-C > world. This means that it is now possible to use an NSKeyedArchiver to store > plain Python objects (basicly anything that can be stored in a pickle). > > The tree might be a but unstable due to this change, getting this to work > correctly was more work that I had expected and there are some changes that > might affect other code (such as a new OC_PythonNumber class that bridges > python numbers). > > Archiving support passes all unittests, but hasn't been used beyond that > which means there might still be bugs lurking in there. > > The code only support keyed archiving for now, although adding support for > the older coding protocol should be trivial now that the basic machinery > works. > > Ronald > ------------------------------------------------------------------------- > This SF.net email is sponsored by the 2008 JavaOne(SM) Conference > Don't miss this year's exciting event. There's still time to save $100. > Use priority code J8TL2D2. > > http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone > _______________________________________________ > Pyobjc-dev mailing list > Pyo...@li... > https://lists.sourceforge.net/lists/listinfo/pyobjc-dev > > |