Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
ZEO
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
ZEO
Commits
57539936
Commit
57539936
authored
Mar 12, 2004
by
Jeremy Hylton
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Cleanup two cycles involving transactions. Where's the 3rd?
parent
c9c44a7e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
0 deletions
+12
-0
src/ZODB/tests/testmvcc.py
src/ZODB/tests/testmvcc.py
+12
-0
No files found.
src/ZODB/tests/testmvcc.py
View file @
57539936
...
...
@@ -293,6 +293,18 @@ Error cases:
- storage doesn't have an earlier revision
- MVCC returns current revision
Cleanup
-------
The setLocalTransaction() feature creates cyclic trash involving the
Connection and Transaction. The Transaction has an __del__ method,
which prevents the cycle from being collected. There's no API for
clearing the Connection's local transaction.
>>> cn._transaction = None
>>> cn1._transaction = None
>>> cn2._transaction = None
"""
import
doctest
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment