[Zope-dev] Zope2 OFS/CopySupport's _get_id()

2004-11-22 Thread Alexandre Boeglin
Hello, While I was reading the _get_id function, I felt it was really strange : def _get_id(self, id): # Allow containers to override the generation of # object copy id by attempting to call its _get_id # method, if it exists. n=0 if (len(id) 8)

Re: [Zope-dev] Zope2 OFS/CopySupport's _get_id()

2004-11-22 Thread Florent Guillaume
+1 The copy_of_copy_of... stuff has always bugged me but I confess I never really looked at the code. I don't foresee any compatibility problems (any code that relies on the fact that a copy of 'copy_of_x' is named 'copy_of_copy_of_x' surely deserves to die). Please post this in the Zope