anchor.diff:  
     SObj:= _LoadedPrefix+AModule;
   
  -  if not IsPyLoadedModule('cudatext') then
  +  if not _LoadedCudatext then
     begin
       with GetPythonEngine do
         ExecString('import cudatext');
  -    _LoadedModules.Add('cudatext');
  +    _LoadedCudatext:= true;
     end;
   
     if not ALazy then
  
positive.code: 
  procedure PyClearLoadedModuleLists;
  begin
    _LoadedModules.Clear;
    _LoadedLocals.Clear;
  end;
  
  initialization
  
    _LoadedModules:= TStringList.Create;
    _LoadedLocals:= TStringList.Create;
  
  finalization
  
    FreeAndNil(_LoadedLocals);
    FreeAndNil(_LoadedModules);
  
  end.
  
  
negative.code: implementation
  
  var
    _LoadedCudatext: boolean = false;
    _LoadedLocals: TStringList = nil;
  
  const
    _LoadedPrefix = 'xx';
    //must be the same as in file py/cudatext_reset_plugins.py
  
  function IsPyLoadedLocal(const S: string): boolean; inline;
  begin
  