Spamworldpro Mini Shell
Spamworldpro


Server : Apache
System : Linux indy02.toastserver.com 3.10.0-962.3.2.lve1.5.85.el7.x86_64 #1 SMP Thu Apr 18 15:18:36 UTC 2024 x86_64
User : palandch ( 1163)
PHP Version : 7.1.33
Disable Function : NONE
Directory :  /opt/alt/python27/lib64/python2.7/site-packages/guppy/doc/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //opt/alt/python27/lib64/python2.7/site-packages/guppy/doc/heapy_RootState.html
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN"
   "http://www.w3.org/TR/REC-html40/strict.dtd">

<html lang=en>
 <head>
  <meta http-equiv='Content-Type' content='text/html; charset=utf-8'>
  <title></title></head>
 <body>
  <div><a name='heapykinds.RootStateType'>
   <h1>.tgt.heapykinds.RootStateType</h1></a>
  <dl>
   <dt>
    <h2>Name</h2></dt>
   <dd>
    <h2>RootStateType</h2></dd>
   <dt>
    <h2>Description</h2></dt>
   <dd>
    <p>
The type of an object with special functionality that gives access to
internals of the Python interpreter and thread structures.  It is used
as a top level root when traversing the heap to make sure to find
some special objects that may otherwise be hidden.</p>
    <p>
There are no references from the RootState object to the special
objects. But the heap traversal and related functions defined for
RootStateType look into the Python interpreter and thread structures.
The visibility is controlled by options set in the HeapView object
which is passed to the traversal function. This makes it possible to
hide an interpreter and/or some frames referring to system objects
that should not be traversed. (See the attributes
'is_hiding_calling_interpreter' and 'limitframe' in HeapView.)</p>
    <p>
The objects found in interpreter and thread structures are related to
the RootState object via attributes with special names. These names
have a special form which will be described below. The name starts
with either an interpreter designator or a thread designator.  It is
then followed by the name of a member in the corresponding interpreter
or thread structure. These names are the same as the names of the
members in the C structures defining them. Some of the names may be
dependent on the Python interpreter version used.</p>
    <p>
The attribute names are used for two purposes:
</p>
    <ul>
     <li>
  To be the name used in the result of the 'relate' operation between
  the RootState object and some object that is referred to via an
  internal Python interpreter or thread structure.</li>
     <li>
  To be used as attribute names when selecting objects
  from the RootState object. This may be used to get at such
  an object knowing only its attribute name.
</li></ul>
    <p>An attribute name is of one of the following two forms.</p>
    <p>    i&lt;interpreter number&gt;_&lt;interpreter attribute&gt;</p>
    <p>
    t&lt;thread number&gt;_&lt;thread attribute&gt;
</p>
    <h3> &lt;interpreter number&gt;</h3>
    <p>
The interpreter number identifies a particular interpreter structure.
Often there is only one interpreter used, in which case the number is
0. It is possible to use more than one interpreter. The interpreters
are then numbered from 0 and up in the order they were started. [This
applies as long as no interpreter is terminated while there is still a
newer interpreter running. Then the newer interpreters will be
renumbered. If this is found to be a problem, a solution may be
devised for a newer release.]
</p>
    <h3> &lt;interpreter attribute&gt;</h3>
    <p>
The interpreter attribute is a member with PyObject pointer type 
in the PyInterpreterState structure and is one of the following:
</p>
    <ul>
     <li> modules</li>
     <li> sysdict</li>
     <li> builtins</li>
     <li> codec_search_path</li>
     <li> codec_search_cache</li>
     <li>
 codec_error_registry
</li></ul>
    <h3> &lt;thread number&gt;</h3>
    <p>
The thread numbers are taken from the thread identity number assigned
by Python. [ In older versions without thread identity numbers the hex
address will be used.]</p>
    <h3> &lt;thread attribute&gt;</h3>
    <p>
The thread attribute is a member with PyObject pointer type 
in the PyThreadState structure and is one of the following:
</p>
    <ul>
     <li> c_profileobj</li>
     <li> c_traceobj</li>
     <li> curexc_type</li>
     <li> curexc_value</li>
     <li> curexc_traceback</li>
     <li> exc_type</li>
     <li> exc_value</li>
     <li> exc_traceback</li>
     <li> dict</li>
     <li>
 async_exc
</li></ul>
    <h3> Special attribute: f&lt;frame number&gt;</h3>
    <p>
The frame list is treated specially. The frame list is continually
changed and the object that the frame member points to is not valid
for long enough to be useful. Therefore frames are referred to by a
special designator using the format shown above with a frame
number. The frame number is the number of the frame starting from 0
but counting in the reversed order of the frame list. Thus the first
started frame is 0, and in general the most recent frame has a number
that is the number of frames it has before it in call order.
</p></dd></dl>
  <hr>Generated by <a href="http://guppy-pe.sourceforge.net/gsl.html">GSL-HTML 0.1.5</a> on Sat Jul  4 13:25:11 2009</div></body></html>

Spamworldpro Mini