Changes between Version 53 and Version 54 of RepyV2API

Changes between Version 53 and Version 54 of RepyV2API

Please note that these Trac pages are no longer being updated. Wiki contents/documentation have moved to GitHub.

Changes between Version 53 and Version 54 of RepyV2API

Please note that these Trac pages are no longer being updated. Wiki contents/documentation have moved to GitHub.

Changes between Version 53 and Version 54 of RepyV2API

Show
Ignore:
Timestamp:
12/22/09 10:11:02 (10 years ago)
Author:
jsamuel
Comment:

Changed "VirtualNamespace" to "createvirtualnamespace"

Legend:

Unmodified
Added
Removed
Modified
  • RepyV2API

    v53 v54  
    6161||udpserversocket||A way to obtain incoming packets||new|| 
    6262 
    63 ||VirtualNamespace||A way to evaluate statically analyzed code||new|| 
     63||virtualnamespace||A way to evaluate statically analyzed code||new|| 
    6464 
    6565 
     
    9595||udpserversocket.close||Stops listening for connections|| new call|| 
    9696 
    97 ||VirtualNamespace.evaluate||Evaluates the code in a given global context||new call|| 
     97||virtualnamespace.evaluate||Evaluates the code in a given global context||new call|| 
    9898 
    9999[[BR]] 
     
    137137||getthreadname||provides a unique string that indicates the name of the current thread||New call|| 
    138138 
    139 ||VirtualNamespace||Provides a VirtualNamespace object that can be used to evaluate code||New call|| 
     139||createvirtualnamespace||Provides a virtualnamespace object that can be used to evaluate code||New call|| 
    140140 
    141141||getresources||Provides two dictionaries which represent the resource limits and usage||New call|| 
     
    11561156 
    11571157[[BR]]  
    1158 ==== VirtualNamespace(code, name="<string>") ==== 
     1158==== createvirtualnamespace(code, name) ==== 
    11591159---- 
    11601160 
     
    11661166 
    11671167   <Purpose> 
    1168      Returns a VirtualNamespace object which supports evaluation of the 
     1168     Returns a virtualnamespace object which supports evaluation of the 
    11691169     code in an arbitrary global context. 
    11701170 
     
    11731173     code:  The string code to check for safety and store for future evaluation. 
    11741174 
    1175      name: (Optional, defaults to "<string>") The name for this module. Used during initialization only, and so 
     1175     name: The name for this module. Used during initialization only, and so 
    11761176     a stack trace can show the name of the module instead of just <string>. 
    11771177 
     
    11821182 
    11831183   <Side Effects> 
    1184      Other calls to VirtualNamespace() will block since safety checks are performed serially. 
     1184     Other calls to createvirtualnamespace() will block since safety checks are performed serially. 
    11851185   
    11861186     Another process will be launched to check the code for safety. This has memory and CPU ramifications, 
     
    11941194 
    11951195   <Returns> 
    1196      A VirtualNamespace object 
    1197  
    1198 [[BR]]  
    1199 ==== VirtualNamespace.evaluate(context) ==== 
     1196     A virtualnamespace object 
     1197 
     1198[[BR]]  
     1199==== virtualnamespace.evaluate(context) ==== 
    12001200---- 
    12011201 
    12021202(added call) 
    12031203 
    1204 Evaluates the code wrapped by the VirtualNamespace in a given context. 
     1204Evaluates the code wrapped by the virtualnamespace in a given context. 
    12051205 
    12061206 * Doc string: