RE: [ZODB-Dev] strange savepoint behavior

2005-11-06 Thread Dieter Maurer
Tim Peters wrote at 2005-11-3 12:31 -0500: ... But those details are all artifacts of exactly how your test case is written. As a general rule, if you do a rollback _beyond_ the creation of a new persistent object P, you shouldn't expect P to be in a useful state anymore (and, as you've seen,

RE: [ZODB-Dev] misleading exception

2005-11-06 Thread Tim Peters
[dvd] Hi all, I'm still working with savepoints and today I spend about tewo hours to find an error, misleaded by a strange Exception As Dieter said (thanks, Dieter!), the current transaction should always be explicitly committed or aborted before closing any Connection involved in the

RE: [ZODB-Dev] strange savepoint behavior

2005-11-06 Thread Tim Peters
[Tim] ... But those details are all artifacts of exactly how your test case is written. As a general rule, if you do a rollback _beyond_ the creation of a new persistent object P, you shouldn't expect P to be in a useful state anymore ... [Dieter Maurer] As usual, an excellent