[albatross-users] New release?
Tim Churches
tchur at optushome.com.au
Sun Sep 21 07:39:01 EST 2003
On Sun, 2003-09-21 at 01:18, Matt Goodall wrote:
> The problem is classes you write yourself that are defined in the page
> module and whose instances are stored in the session.
>
> The bottom line is that instances of a class **defined in a page
> module** cannot be pickled and so cannot be put in the session. This
> includes any TreeNode
> (http://www.object-craft.com.au/projects/albatross/albatross/tag-treenode.html) classes.
>
> The solution (if Dave and Andrew decide to go ahead with the change) is
> to move any page support classes into a proper package/module hierarchy,
> leaving _only_ the code immediately responsible for working with pages
> in the page module.
>
> Hope that provides a better understanding of code that might be
> affected.
OK, thanks, much clearer. That's not so bad then (since most of our
Albatross code has been written by Dave, Andrew or Ben of Object-Craft -
it's only my hacks which will need to be refactored a bit. However, my
comments about the importance of backwards compatibility still stand.
--
Tim C
PGP/GnuPG Key 1024D/EAF993D0 available from keyservers everywhere
or at http://members.optushome.com.au/tchur/pubkey.asc
Key fingerprint = 8C22 BF76 33BA B3B5 1D5B EB37 7891 46A9 EAF9 93D0
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://www.object-craft.com.au/pipermail/albatross-users/attachments/20030921/df59923b/attachment.pgp>
More information about the Albatross-users
mailing list