1. 21 Nov, 2014 1 commit
  2. 30 May, 2014 1 commit
  3. 04 Apr, 2014 1 commit
  4. 25 Jan, 2014 1 commit
  5. 07 Jan, 2014 1 commit
  6. 22 Nov, 2013 1 commit
  7. 16 Jun, 2013 1 commit
  8. 15 Jun, 2013 1 commit
  9. 14 Jun, 2013 1 commit
  10. 31 May, 2013 2 commits
    • Brett Cannon's avatar
      fix whitespace · 0e75c068
      Brett Cannon authored
      0e75c068
    • Brett Cannon's avatar
      Issues #18088, 18089: Introduce · 0dbb4c7f
      Brett Cannon authored
      importlib.abc.Loader.init_module_attrs() and implement
      importlib.abc.InspectLoader.load_module().
      
      The importlib.abc.Loader.init_module_attrs() method sets the various
      attributes on the module being loaded. It is done unconditionally to
      support reloading. Typically people used
      importlib.util.module_for_loader, but since that's a decorator there
      was no way to override it's actions, so init_module_attrs() came into
      existence to allow for overriding. This is also why module_for_loader
      is now pending deprecation (having its other use replaced by
      importlib.util.module_to_load).
      
      All of this allowed for importlib.abc.InspectLoader.load_module() to
      be implemented. At this point you can now implement a loader with
      nothing more than get_code() (which only requires get_source();
      package support requires is_package()). Thanks to init_module_attrs()
      the implementation of load_module() is basically a context manager
      containing 2 methods calls, a call to exec(), and a return statement.
      0dbb4c7f
  11. 30 May, 2013 1 commit
  12. 28 May, 2013 1 commit
  13. 13 May, 2012 1 commit
  14. 17 Apr, 2010 1 commit
  15. 10 Mar, 2009 1 commit
  16. 04 Mar, 2009 1 commit
  17. 02 Mar, 2009 1 commit
  18. 17 Feb, 2009 1 commit