def __init__(self, scope):
        '''
        Create a new GlobalsManager for the scope

        @param scope: the scope owner of this manager
        @type scope: L{Scope}
        '''
        Observable.__init__(self, [GlobalsManager.EVENT_NEW_DEFINITION])
        RestrictedManager.__init__(self, scope)
Esempio n. 2
0
    def __init__(self, scope):
        '''
        Create a new GlobalsManager for the scope

        @param scope: the scope owner of this manager
        @type scope: L{Scope}
        '''
        Observable.__init__(self, [
                GlobalsManager.EVENT_NEW_DEFINITION
            ])
        RestrictedManager.__init__(self, scope)
    def __init__(self, scope):
        '''
        Create a new FunctionsManager for the scope

        @param scope: the scope owner of this manager
        @type scope: L{Scope}
        '''
        Observable.__init__(self, [FunctionsManager.EVENT_NEW_DEFINITION])
        RestrictedManager.__init__(self, scope)

        # need to import system function definitions
        # bypass registerSystemFunction to avoid debug logger
        self._systemsFunctions = Functions_ImportSystemDefinitions()
        '''definitions of system-functions'''
    def __init__(self, scope):
        '''
        Create a new FunctionsManager for the scope

        @param scope: the scope owner of this manager
        @type scope: L{Scope}
        '''
        Observable.__init__(self, [
                FunctionsManager.EVENT_NEW_DEFINITION
            ])
        RestrictedManager.__init__(self, scope)
        
        # need to import system function definitions
        # bypass registerSystemFunction to avoid debug logger
        self._systemsFunctions = Functions_ImportSystemDefinitions()
        '''definitions of system-functions'''