1. 04 Agu, 2015 1 kayıt (commit)
  2. 02 May, 2015 1 kayıt (commit)
  3. 29 Eki, 2014 2 kayıt (commit)
  4. 09 May, 2014 1 kayıt (commit)
  5. 31 Mar, 2014 1 kayıt (commit)
  6. 24 Mar, 2014 1 kayıt (commit)
  7. 16 Mar, 2014 1 kayıt (commit)
  8. 11 Mar, 2014 1 kayıt (commit)
    • R David Murray's avatar
      whatsnew: remove XXXs. · 0c18282d
      R David Murray yazdı
      Can't figure out what the other issue was for the importlib
      changes.  Did find a small typo in the reload doc, though.
      0c18282d
  9. 06 Şub, 2014 1 kayıt (commit)
  10. 25 Ock, 2014 1 kayıt (commit)
  11. 08 Ock, 2014 1 kayıt (commit)
  12. 07 Ock, 2014 1 kayıt (commit)
  13. 17 Ara, 2013 1 kayıt (commit)
  14. 13 Ara, 2013 1 kayıt (commit)
  15. 11 Ara, 2013 1 kayıt (commit)
  16. 29 Kas, 2013 2 kayıt (commit)
  17. 22 Kas, 2013 1 kayıt (commit)
  18. 01 Kas, 2013 1 kayıt (commit)
    • Brett Cannon's avatar
      Issue #19410: Put back in special-casing of '' for · f6901c8b
      Brett Cannon yazdı
      importlib.machinery.FileFinder.
      
      While originally moved to stop special-casing '' as PathFinder farther
      up the typical call chain now uses the cwd in the instance of '', it
      was deemed an unnecessary risk to breaking subclasses of FileFinder to
      take the special-casing out.
      f6901c8b
  19. 25 Eki, 2013 1 kayıt (commit)
  20. 19 Eki, 2013 1 kayıt (commit)
  21. 18 Eki, 2013 1 kayıt (commit)
    • Brett Cannon's avatar
      Issue #18416: Have importlib.machinery.PathFinder treat '' as the cwd · 27e27f7e
      Brett Cannon yazdı
      and stop importlib.machinery.FileFinder treating '' as '.'.
      
      Previous PathFinder transformed '' into '.' which led to __file__ for
      modules imported from the cwd to always be relative paths. This meant
      the values of the attribute were wrong as soon as the cwd changed.
      This change now means that as long as the site module is run (which
      makes all entries in sys.path absolute) then all values for __file__
      will also be absolute unless it's for __main__ when specified by file
      path in a relative way (modules imported by runpy will have an
      absolute path).
      
      Now that PathFinder is no longer treating '' as '.' it only makes
      sense for FileFinder to stop doing so as well. Now no transformation
      is performed for the directory given to the __init__ method.
      
      Thanks to Madison May for the initial patch.
      27e27f7e
  22. 05 Eki, 2013 1 kayıt (commit)
  23. 03 Eki, 2013 3 kayıt (commit)
  24. 13 Eyl, 2013 1 kayıt (commit)
  25. 21 Haz, 2013 1 kayıt (commit)
  26. 16 Haz, 2013 3 kayıt (commit)
  27. 15 Haz, 2013 1 kayıt (commit)
  28. 14 Haz, 2013 2 kayıt (commit)
  29. 25 May, 2013 1 kayıt (commit)
  30. 31 May, 2013 3 kayıt (commit)
    • Brett Cannon's avatar
      Issues #18088, 18089: Introduce · 0dbb4c7f
      Brett Cannon yazdı
      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
    • Brett Cannon's avatar
      Add a reset_name argument to importlib.util.module_to_load in order to · b60a43ea
      Brett Cannon yazdı
      control whether to reset the module's __name__ attribute in case a
      reload is being done.
      b60a43ea
    • Brett Cannon's avatar
      Add a reference to module_to_load · 17738111
      Brett Cannon yazdı
      17738111
  31. 30 May, 2013 1 kayıt (commit)