cherrypy.lib.gctools module¶
-
class
cherrypy.lib.gctools.
GCRoot
[source]¶ Bases:
object
A CherryPy page handler for testing reference leaks.
-
classes
= [(<class 'cherrypy._cprequest.Request'>, 2, 2, 'Should be 1 in this request thread and 1 in the main thread.'), (<class 'cherrypy._cprequest.Response'>, 2, 2, 'Should be 1 in this request thread and 1 in the main thread.'), (<class 'cherrypy._cpwsgi.AppResponse'>, 1, 1, 'Should be 1 in this request thread only.')]¶
-
-
class
cherrypy.lib.gctools.
ReferrerTree
(ignore=None, maxdepth=2, maxparents=10)[source]¶ Bases:
object
An object which gathers all referrers of an object to a given depth.
-
peek_length
= 40¶
-