Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
ZODB
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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kirill Smelkov
ZODB
Commits
2807a969
Commit
2807a969
authored
Apr 14, 2015
by
Jason Madden
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Point to the PyPy issue.
parent
55167340
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
src/ZODB/blob.py
src/ZODB/blob.py
+4
-4
No files found.
src/ZODB/blob.py
View file @
2807a969
...
@@ -61,10 +61,10 @@ valid_modes = 'r', 'w', 'r+', 'a', 'c'
...
@@ -61,10 +61,10 @@ valid_modes = 'r', 'w', 'r+', 'a', 'c'
# of a weakref when the weakref object dies at the same time
# of a weakref when the weakref object dies at the same time
# as the object it refers to. In other words, this doesn't work:
# as the object it refers to. In other words, this doesn't work:
# self._ref = weakref.ref(self, lambda ref: ...)
# self._ref = weakref.ref(self, lambda ref: ...)
# because the function never gets called
. The Blob class used
# because the function never gets called
(https://bitbucket.org/pypy/pypy/issue/2030).
#
to use that pattern to clean up uncommitted files; now we use this
#
The Blob class used to use that pattern to clean up uncommitted
#
module-level global (but still keep a reference in the Blob in case
#
files; now we use this module-level global (but still keep a
#
we need premature cleanup)
#
reference in the Blob in case we need premature cleanup).
_blob_close_refs
=
[]
_blob_close_refs
=
[]
@
zope
.
interface
.
implementer
(
ZODB
.
interfaces
.
IBlob
)
@
zope
.
interface
.
implementer
(
ZODB
.
interfaces
.
IBlob
)
...
...
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