[ZODB-Dev] Issue trying to remove elements in OOTreeSet

2010-09-23 Thread César Muñoz
Hello*, *I'm having quite a strange problem and I really don't know the reason why it is occurring. Briefly, my database is storing data of chat rooms, according to different indexes (by the user who created the chat room, by the chat room ID, etc). >From the DB root there's an OOBTree with all th

[ZODB-Dev] RFC: deprecate transaction user and description fields in favor of extened info and simplify extended info API

2010-09-23 Thread Jim Fulton
The user and description fields are somewhat archaic. They can only be strings (not unicode) and can as easily be handled as extended info. I propose to deprecate the 'user' and 'description' attributes, and the 'setUser' and 'note' methods and to add a new 'info' attribute whose attributes can be

Re: [ZODB-Dev] RFC: deprecate transaction user and description fields in favor of extened info and simplify extended info API

2010-09-23 Thread Stephan Richter
On Thursday, September 23, 2010, Jim Fulton wrote: > Comments? Sounds good and addresses my concerns raised in the discussion of the bug. Regards, Stephan -- Entrepreneur and Software Geek Google me. "Zope Stephan Richter" ___ For more information abou

Re: [ZODB-Dev] RFC: deprecate transaction user and description fields in favor of extened info and simplify extended info API

2010-09-23 Thread Hanno Schlichting
On Thu, Sep 23, 2010 at 4:24 PM, Jim Fulton wrote: > The user and description fields are somewhat archaic. They can only be > strings (not unicode) and can as easily be handled as extended info. > > I propose to deprecate the 'user' and 'description' attributes, and > the 'setUser' and 'note' meth

Re: [ZODB-Dev] RFC: deprecate transaction user and description fields in favor of extened info and simplify extended info API

2010-09-23 Thread Jim Fulton
On Thu, Sep 23, 2010 at 11:15 AM, Hanno Schlichting wrote: > On Thu, Sep 23, 2010 at 4:24 PM, Jim Fulton wrote: >> The user and description fields are somewhat archaic. They can only be >> strings (not unicode) and can as easily be handled as extended info. >> >> I propose to deprecate the 'user'

Re: [ZODB-Dev] Issue trying to remove elements in OOTreeSet

2010-09-23 Thread Marius Gedminas
On Thu, Sep 23, 2010 at 03:54:59PM +0200, César Muñoz wrote: > That said, I'm having some problems when removing a chat room from the > OOTreeSet. Sometimes (and this is weird, sometimes I may get the error, some > others not) I get a KeyError exception when I try to remove the chat room. > This is

Re: [ZODB-Dev] RFC: deprecate transaction user and description fields in favor of extened info and simplify extended info API

2010-09-23 Thread Marius Gedminas
On Thu, Sep 23, 2010 at 10:53:03AM -0400, Stephan Richter wrote: > On Thursday, September 23, 2010, Jim Fulton wrote: > > Comments? > > Sounds good and addresses my concerns raised in the discussion of the bug. What bug? Marius Gedminas -- Being really good at C++ is like being really good at u