[ZODB-Dev] Reloading product in 2.8

2005-07-12 Thread Victor Safronovich
9232930 [11211695992112010853] Function variables: meta=(, ()) klass= [TransientObject] newargs= [__getnewargs__] Module ZODB.serialize, line 339, in _dump Line 7 of function _dump: self._p.dump(state) Function arguments: self= classmeta=(, ())

Re: [ZODB-Dev] PersistentMapping glitches

2005-08-23 Thread Victor Safronovich
entMapping >>> from BTrees.OOBTree import OOBTree >>> r = OOBTree() >>> r.update( PersistentMapping({1:1}).data) >>> dict(r) {1: 1} i am using isinstance(obj, UserDict) condition now. -- Best regards, Victor Safronovich NauMen.NauDoc.SoftwareDeveloper http://www

Re[2]: [ZODB-Dev] BTrees and setdefault

2005-08-28 Thread Victor Safronovich
) ) level.insert( id ) which looks much better. -- Best regards, Victor Safronovich NauMen.NauDoc.SoftwareDeveloper http://www.naumen.ru ___ For more information about ZODB, see the ZODB Wiki: http://www.zope.org/Wikis/ZODB/ ZODB-Dev mailin

[ZODB-Dev] afterCommitHook

2005-09-21 Thread Victor Safronovich
. -- Best regards, Victor Safronovich NauMen.NauDoc.SoftwareDeveloper http://www.naumen.com ___ For more information about ZODB, see the ZODB Wiki: http://www.zope.org/Wikis/ZODB/ ZODB-Dev mailing list - ZODB-Dev@zope.org http://mail.zope.org/mailman

Re[2]: [ZODB-Dev] afterCommitHook

2005-09-21 Thread Victor Safronovich
on register its TransactionalEmail objects too. -- Best regards, Victor Safronovich NauMen.NauDoc.SoftwareDeveloper http://www.naumen.com ___ For more information about ZODB, see the ZODB Wiki: http://www.zope.org/Wikis/ZODB/ ZODB

Re[2]: [ZODB-Dev] afterCommitHook

2005-09-25 Thread Victor Safronovich
om it. But MaildropHost is a wonderful product, and thanks to its author. This topic is not a zodb-dev problem and should be moved to zope-dev. -- Best regards, Victor Safronovich NauMen.NauDoc.SoftwareDeveloper http://www.naumen.ru ___ For mor

Re[2]: [ZODB-Dev] know the state of an object

2005-10-18 Thread Victor Safronovich
ghostify unghostify changed invalidate and others and to be able to add hooks to before and after transition. -- Best regards, Victor Safronovich NauMen.NauDoc.SoftwareDeveloper http://www.naumen.ru ___ For more information abou

Re[4]: [ZODB-Dev] know the state of an object

2005-10-19 Thread Victor Safronovich
Hello Dieter Maurer, Thursday, October 20, 2005, 1:53:35 AM, you wrote: DM> Victor Safronovich wrote at 2005-10-18 13:18 +0600: >> ... >> May be usefull to add some simple workflow to Persistent class with >> states: >> GHOST >> UPTODATE

[ZODB-Dev] question about connections

2005-10-21 Thread Victor Safronovich
) But this create new ZODB-connection every time, is this bad or good? And Why one connection in the first example not see modifications from the other connections? Is this a ZODB 3.1.5 problem or my? -- Best regards, Victor Safronovich NauMen.NauDoc.SoftwareDe

Re[2]: [ZODB-Dev] Persistent Mapping Classes

2005-10-21 Thread Victor Safronovich
bj RW> db.close() Where is a "import transaction; transaction.commit()"? -- Best regards, Victor Safronovich NauMen.NauDoc.SoftwareDeveloper http://www.naumen.ru ___ For more information about ZODB, see the ZODB Wiki: http://www.zope.

Re[2]: [ZODB-Dev] question about connections

2005-10-23 Thread Victor Safronovich
ync() method in the begining of each iteration of my infinite loop. English is not my native laguage, and very sorry for my mistakes and typos :(. -- Best regards, Victor Safronovich NauMen.NauDoc.SoftwareDeveloper http://www.naumen.ru ___ Fo

Re[4]: [ZODB-Dev] question about connections

2005-10-24 Thread Victor Safronovich
> There's no need to do get_transaction().begin() if you're calling sync(). TP> It's OK if you do both (it will just waste some time). Thank you, Tim, again. This help me enough. -- Best regards, Victor Safronovich NauMen.NauDoc.SoftwareDeveloper http://www.naumen.

Re: [ZODB-Dev] Class Versioning?

2005-10-29 Thread Victor Safronovich
ss A(Persistent): _class_version = 1.3 class B(A): _class_version = 1.45 -- Best regards, Victor Safronovich NauMen.NauDoc.SoftwareDeveloper http://www.naumen.ru ___ For more information about ZODB, see the ZODB Wiki: http://www.zope.org/W

[ZODB-Dev] import Status from _transaction to __init__

2005-11-03 Thread Victor Safronovich
'commited' else: print 'not commited' REQUEST._hold( Test() ) -- Best regards, Victor Safronovich NauMen.NauDoc.SoftwareDeveloper http://www.naumen.ru ___ For more information about ZODB, see

Re[2]: [ZODB-Dev] Migrating classes in ZODB 3.5.1

2005-11-08 Thread Victor Safronovich
ptember/025387.html http://www.zope.org/Collectors/Zope/1911 -- Best regards, Victor Safronovich NauMen.NauDoc.SoftwareDeveloper http://www.naumen.ru ___ For more information about ZODB, see the ZODB Wiki: http://www.zope.org/Wikis/ZOD

[ZODB-Dev] lazy BTreeItems

2005-12-08 Thread Victor Safronovich
) [] BUT >>> i = iter(t.keys()) >>> del t[1] >>> list(i) [2, 3, 4] Or should I always cast to unlazy list, when i want to remove some keys from btree? And how did iterator return 2,3,4 keys? -- Best regards, Victor Safronovich NauMen.NauDoc.SoftwareDeveloper http:/

Re[2]: [ZODB-Dev] lazy BTreeItems

2005-12-08 Thread Victor Safronovich
0 1 2 3 4 If this is correct, bug in my code :)). -- Best regards, Victor Safronovich NauMen.NauDoc.SoftwareDeveloper http://www.naumen.ru ___ For more information about ZODB, see the ZODB Wiki: http://www.zope.org/Wikis/ZODB/ ZODB-Dev mailing lis

[ZODB-Dev] Deferred notifing from one thread to another.

2005-12-09 Thread Victor Safronovich
solution? -- Best regards, Victor Safronovich NauMen.NauDoc.SoftwareDeveloper http://www.naumen.ru ___ For more information about ZODB, see the ZODB Wiki: http://www.zope.org/Wikis/ZODB/ ZODB-Dev mailing list - ZODB-Dev@zope.org http://mail.zope.org/m

Re[2]: [ZODB-Dev] Deferred notifing from one thread to another.

2005-12-09 Thread Victor Safronovich
Hello Tim Peters, Friday, December 9, 2005, 9:18:26 PM, you wrote: TP> [Victor Safronovich] >> ... >> Of course i may write time.sleep( SLEEP_CONSTANT ) before >> app._p_jar.sync(), but is this a good solution? TP> I can't make time to understand your problem (sorry

Re[2]: [ZODB-Dev] lazy BTreeItems

2005-12-10 Thread Victor Safronovich
27;2' >>> o_ids = m.objectIds() >>> o_ids >>> list(o_ids) ['1', '2'] >>> m._delObject('1') >>> list(o_ids) ['2'] I`ll want to migrate my large object containers from Folder to BTreeFolder2, but my code h

Re[2]: [ZODB-Dev] Deferred notifing from one thread to another.

2005-12-10 Thread Victor Safronovich
Hello Dieter Maurer, Saturday, December 10, 2005, 12:34:48 AM, you wrote: DM> Victor Safronovich wrote at 2005-12-9 14:33 +0500: >> ... >>But when T2 >>still not commiting its transaction, dispatcher not see new element :(. DM> Any transaction will only see committ