• Tres Seaver's avatar
    Merged 'tseaver-no_globals_imports' branch: · 9b1c5b1b
    Tres Seaver authored
    o Replaced  imports from the 'Globals' module throughout the tree with
      imports from the actual modules;  the 'Globals' module was always intended
      to be an area for shared data, rather than a "facade" for imports.
    
    o Added 'zope.deferredimport.deprecation' entries to 'Globals/__init__.py'
      for all previously imported symbols / modules.
    
    o Moved 'ApplicationdefaultPermissions' from 'App/class_init.py' to
      'AccessCoontrol/Permission.py', to avoid possible import cycle in
      third-party code.
    
    o Moved canonical location of UNIQUE / REPLACEABLE / NOT_REPLACEABLE
      constants from 'Globals' to 'OFS.ObjectManager'.
    
    o Removed 'stuffGlobals' hack in favor of the deferred / deprecation
      imports.
    9b1c5b1b
Basic.py 7.3 KB