IRC log of #zope for Wednesday, 2013-02-27

*** povbot_ has joined #zope00:05
*** povbot has quit IRC00:05
*** mr_jolly has quit IRC00:06
*** J1m has quit IRC00:27
*** MatthewWilkes is now known as mwilkes|away00:50
*** J1m has joined #zope00:54
*** hoRn has joined #zope01:03
hoRnHi.01:03
hoRna short dumb question from a frontend gui writing some code in python: if I have a object and set it to a other context in zodb with _setObject this seems to be a reference - both are similar and editing affects both. Can I use this like 'symlink' or do I waste my ZODB with this?.01:08
*** J1m has quit IRC01:15
*** m8 has quit IRC01:21
RichyBhoRn: if the object that you're referring to is Persistent, then two different references to it inside the ZODB will both point to the same object correctly.01:27
RichyB(i.e. it should usually be a subclass of Persistent, or or something like SimpleItem that subclasses Persistent)01:27
*** kosh has joined #zope01:29
RichyBHowever, I believe that if the object that you are referring to from two different references in the ZODB is not a Persistent object then… you will get just one copy shared by both for a little while and it'll appear to work, but as soon as your ZODB-using process restarts or the referring objects fall out of the ZODB cache, you'll get two completely separate copies of the same referred-to object which don't share memory nor any updates.01:31
RichyBI should double-check that behaviour.01:31
RichyBIn the ZODB, you generally want to only refer to objects that are either immutable, like strings, numbers and tuples, or that are Persistent.01:31
RichyBhoRn: but provided you make sure that classes descend from Persistent, sure, you can have shared references to a single object in ZODB. http://blog.startifact.com/posts/older/a-misconception-about-the-zodb.html01:32
*** supton_ has joined #zope01:49
*** supton has quit IRC01:51
*** dayne has quit IRC01:54
*** dayne has joined #zope01:56
*** _mup_ has quit IRC02:00
*** _mup_ has joined #zope02:00
*** nueces has quit IRC02:09
*** KageSenshi has joined #zope02:10
*** dayne has quit IRC02:18
hoRnRichyB: Thanks for clarification - I will check this and read the recommended post ...02:31
*** hoRn has quit IRC02:39
*** mindthief414 has joined #zope02:43
*** J1m has joined #zope02:48
*** mindthief414 has quit IRC02:49
*** J1m has quit IRC02:50
*** tiwula has quit IRC03:05
*** Spanktar_ has joined #zope03:17
*** Spanktar_ has quit IRC03:20
*** Spanktar has quit IRC03:21
*** Spanktar has joined #zope03:22
*** Spanktar has quit IRC03:25
*** tiwula has joined #zope03:27
*** mindthief414 has joined #zope03:40
*** alecm has quit IRC03:44
*** mindthief414 has quit IRC03:44
*** daMaestro has quit IRC03:56
*** J1m has joined #zope03:57
*** tiwula has quit IRC03:59
*** alecm has joined #zope04:09
*** alecm has joined #zope04:09
*** J1m has quit IRC04:10
*** alecm has quit IRC04:12
*** J1m has joined #zope05:05
*** nande has quit IRC05:12
*** J1m has quit IRC05:14
*** RichyB has quit IRC05:25
*** mr_jolly has joined #zope06:38
*** mindthief414 has joined #zope06:50
*** zenwryly has quit IRC07:42
*** mindthief414 has quit IRC07:45
*** kosh has quit IRC07:51
*** mr_jolly has quit IRC08:35
*** alecm has joined #zope08:41
*** alecm has joined #zope08:41
*** mr_jolly has joined #zope08:45
*** Turicas has joined #zope09:11
*** alecm has quit IRC09:13
*** miano__ has joined #zope09:18
*** miano_ has quit IRC09:22
*** __mac__ has joined #zope09:24
*** mr_jolly_ has joined #zope09:32
*** mr_jolly has quit IRC09:33
*** mr_jolly_ is now known as mr_jolly09:33
*** mr_jolly_ has joined #zope09:45
*** mr_jolly has quit IRC09:48
*** mr_jolly_ is now known as mr_jolly09:48
*** mr_jolly has quit IRC09:50
*** mindthief414 has joined #zope10:11
*** giacomos has joined #zope10:13
*** thetet has joined #zope10:19
*** mr_jolly has joined #zope10:32
*** mr_jolly has quit IRC10:40
*** avoinea has joined #zope10:43
*** mr_jolly_ has joined #zope10:43
*** eperez has joined #zope10:50
*** __mac__ has quit IRC10:58
*** Turicas has quit IRC11:00
*** mr_jolly_ has quit IRC11:05
*** mr_jolly has joined #zope11:06
*** giacomos has quit IRC11:11
*** menesis has joined #zope11:23
*** giacomos has joined #zope11:26
*** goschtl has joined #zope11:37
*** __mac__ has joined #zope11:55
*** mwilkes|away is now known as MatthewWilkes11:58
*** AdamDangoor has joined #zope12:00
*** kosh has joined #zope12:01
*** maurits has joined #zope12:03
*** mindthief414 has quit IRC12:07
*** RichyB has joined #zope12:10
*** miano__ has quit IRC12:10
*** menesis has quit IRC12:16
*** miano__ has joined #zope12:17
*** menesis has joined #zope12:20
*** fredvd has joined #zope12:25
*** __mac__ has quit IRC12:27
*** AdamDangoor has quit IRC12:39
*** AdamDangoor has joined #zope12:41
*** moumoutte has joined #zope12:42
moumoutteHello all12:42
moumoutteI'm trying to use zope.sqlalchemy12:42
moumouttewith ZopeTransactionExtension12:42
moumoutteand I saw the new option12:42
moumouttekeep_session12:43
moumoutteI'm trying to using it12:43
moumoutteAnd its seems to work fine12:43
moumoutteBut12:43
moumoutteAt one moment the transaction.commit() expire all the object in session12:43
moumouttethere is any reason to do that ?12:43
moumoutteBecause in all the program the transaction.commit() maintains the object in session12:44
moumouttebut in one particular moment, It does'nt.12:44
moumouttehttp://paste.lisp.org/display/13566912:46
*** thetet has quit IRC12:47
*** thetet has joined #zope12:49
*** thetet has quit IRC12:50
*** thetet has joined #zope12:50
*** mgedmin_ has joined #zope12:59
*** mgedmin_ has quit IRC13:00
*** evilbungle has joined #zope13:04
*** CosmicB has quit IRC13:18
*** povbot_ is now known as povbot13:22
*** __mac__ has joined #zope13:31
*** CosmicB has joined #zope13:32
*** evilbungle has quit IRC13:34
*** fdrake has quit IRC13:44
*** __mac__ has quit IRC13:46
*** __mac__ has joined #zope13:47
*** mr_jolly has quit IRC13:52
*** mr_jolly has joined #zope13:52
*** menesis has quit IRC13:55
*** J1m has joined #zope13:57
*** mr_jolly has quit IRC14:06
*** evilbungle has joined #zope14:08
*** J1m has quit IRC14:16
*** J1m has joined #zope14:17
*** m8 has joined #zope14:20
*** J1m has quit IRC14:22
*** mr_jolly has joined #zope14:25
*** agroszer has joined #zope14:25
*** mr_jolly has quit IRC14:31
*** agroszer_ has joined #zope14:33
*** J1m has joined #zope14:34
*** mr_jolly has joined #zope14:40
*** zagy has joined #zope14:44
*** J1m has quit IRC14:45
*** LeoRochael has joined #zope14:55
*** mr_jolly_ has joined #zope14:56
*** dayne has joined #zope14:59
*** mr_jolly has quit IRC15:00
*** mr_jolly_ is now known as mr_jolly15:00
*** agroszer_ has quit IRC15:04
*** fdrake has joined #zope15:04
*** goschtl has quit IRC15:39
*** dayne has quit IRC15:47
*** thetet has quit IRC15:48
*** miano_ has joined #zope16:04
*** sunew has joined #zope16:05
*** miano__ has quit IRC16:08
*** J1m has joined #zope16:09
*** les_sylvains has joined #zope16:26
*** zagy has quit IRC16:34
*** menesis has joined #zope16:37
*** mr_jolly has quit IRC16:57
*** nueces has joined #zope17:17
*** mr_jolly has joined #zope17:20
*** agroszer has quit IRC17:24
*** sunew has quit IRC17:28
*** benji has quit IRC17:35
*** mitchell` is now known as mitchell`off17:37
*** alecm has joined #zope17:41
*** fredvd has quit IRC18:01
*** maurits has quit IRC18:01
*** mcdonc has quit IRC18:03
*** nande has joined #zope18:04
*** tiwula has joined #zope18:07
*** zenwryly has joined #zope18:12
*** supton has joined #zope18:13
*** kosh has quit IRC18:21
*** benji has joined #zope18:28
*** menesis has quit IRC19:03
*** mr_jolly_ has joined #zope19:05
*** mr_jolly has quit IRC19:07
*** mr_jolly_ is now known as mr_jolly19:07
*** giacomos has quit IRC19:11
*** Spanktar has joined #zope19:20
*** Spanktar has quit IRC19:32
*** AdamDangoor has quit IRC19:34
*** Arfrever has joined #zope19:38
*** eperez has quit IRC19:51
*** daMaestro has joined #zope20:19
*** mr_jolly has quit IRC20:36
*** mindthief414 has joined #zope20:51
*** paltas has joined #zope21:01
*** mindthief414 has quit IRC21:07
*** mindthief414 has joined #zope21:07
*** mindthief414 has quit IRC21:18
*** zagy has joined #zope21:26
*** roq_ has joined #zope21:31
*** zagy1 has joined #zope21:40
*** zagy has quit IRC21:40
*** MatthewWilkes is now known as mwilkes|away21:55
*** avoinea has quit IRC21:58
*** thetet has joined #zope22:02
*** J1m has quit IRC22:13
*** J1m has joined #zope22:14
*** mwilkes|away is now known as MatthewWilkes22:14
*** roq_ has left #zope22:24
*** sm_ has joined #zope22:40
*** mindthief414 has joined #zope22:58
*** sunew has joined #zope23:00
*** sunew has quit IRC23:07
*** paltas has quit IRC23:33
*** J1m has quit IRC23:34
*** mindthief414 has quit IRC23:45
*** les_sylvains has quit IRC23:48

Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!