Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
Zope
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
Zope
Commits
c8fa7d8a
Commit
c8fa7d8a
authored
Aug 27, 1999
by
Jim Fulton
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
The reference count debugger stuffed it's information in an overly
volatile place, making it's data less than useful.
parent
9118d108
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
10 deletions
+12
-10
lib/python/App/ApplicationManager.py
lib/python/App/ApplicationManager.py
+12
-10
No files found.
lib/python/App/ApplicationManager.py
View file @
c8fa7d8a
...
...
@@ -83,7 +83,7 @@
#
##############################################################################
__doc__
=
"""System management components"""
__version__
=
'$Revision: 1.5
4
$'
[
11
:
-
2
]
__version__
=
'$Revision: 1.5
5
$'
[
11
:
-
2
]
import
sys
,
os
,
time
,
string
,
Globals
,
Acquisition
,
os
...
...
@@ -135,6 +135,10 @@ class VersionManager(Fake, SimpleItem.Item, Acquisition.Implicit):
# refcount snapshot info
_v_rcs
=
None
_v_rst
=
None
class
ApplicationManager
(
Folder
,
CacheManager
):
"""System management"""
...
...
@@ -243,10 +247,6 @@ class ApplicationManager(Folder,CacheManager):
manage_debug
=
HTMLFile
(
'debug'
,
globals
())
# refcount snapshot info
_v_rcs
=
None
_v_rst
=
None
def
refcount
(
self
,
n
=
None
,
t
=
(
type
(
Fake
),
type
(
Acquisition
.
Implicit
))):
# return class reference info
...
...
@@ -277,17 +277,19 @@ class ApplicationManager(Folder,CacheManager):
return
dict
def
rcsnapshot
(
self
):
self
.
_v_rcs
=
self
.
refdict
()
self
.
_v_rst
=
DateTime
()
global
_v_rcs
global
_v_rst
_v_rcs
=
self
.
refdict
()
_v_rst
=
DateTime
()
def
rcdate
(
self
):
return
self
.
_v_rst
return
_v_rst
def
rcdeltas
(
self
):
if
self
.
_v_rcs
is
None
:
if
_v_rcs
is
None
:
self
.
rcsnapshot
()
nc
=
self
.
refdict
()
rc
=
self
.
_v_rcs
rc
=
_v_rcs
rd
=
[]
for
n
,
c
in
nc
.
items
():
prev
=
rc
[
n
]
...
...
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