[Zope-dev] adding properties to instances v. classes

Jamie Heilman jamie@audible.transient.net
Sat, 23 Nov 2002 13:03:03 -0800


> ... currently the height and width properties of an Image object are
> removable from the ZMI.  If you do that though, you can't add them
> back.  Its sorta silly.

Well, after fiddling with it a for a while I've decided I never want
to open Image.py ever again, that code is just too far gone.  I did
get the effect I desired working, in that I could remove the height
and width properties and when I did the tag() routine didn't include
those attributes in markup anymore, plus I could add them back.  It
broke compatibility with image objects already in the zodb though so
its probably of no help to anyone.

-- 
Jamie Heilman                   http://audible.transient.net/~jamie/
"Most people wouldn't know music if it came up and bit them on the ass."
                                                        -Frank Zappa