An error occurred fetching the project authors.
  1. 23 Feb, 2012 1 commit
  2. 22 Feb, 2012 2 commits
  3. 20 Feb, 2012 5 commits
  4. 17 Feb, 2012 2 commits
  5. 16 Feb, 2012 3 commits
  6. 14 Feb, 2012 1 commit
  7. 10 Feb, 2012 1 commit
  8. 09 Feb, 2012 1 commit
  9. 08 Feb, 2012 4 commits
  10. 27 Jan, 2012 1 commit
    • Brett Cannon's avatar
      Relocate importlib._case_ok to importlib._bootstrap. · 51d14f8e
      Brett Cannon authored
      This required updating the code to use posix instead of os. This is
      all being done to make bootstrapping easier to removing dependencies
      that are kept in importlib.__init__ and thus outside of the single
      file to bootstrap from.
      51d14f8e
  11. 25 Jan, 2012 1 commit
  12. 16 Jan, 2012 1 commit
  13. 13 Jan, 2012 1 commit
  14. 15 Dec, 2011 2 commits
  15. 15 Nov, 2011 1 commit
  16. 10 Nov, 2011 1 commit
  17. 31 Oct, 2011 1 commit
  18. 28 Oct, 2011 1 commit
  19. 19 Oct, 2011 1 commit
  20. 17 Oct, 2011 1 commit
  21. 23 Mar, 2011 2 commits
    • Brett Cannon's avatar
      Make importlib compatible with __import__ by "fixing" code.co_filename · 442c9b92
      Brett Cannon authored
      paths.
      
      __import__ does a little trick when importing from bytecode by
      back-patching the co_filename paths to point to the file location
      where the code object was loaded from, *not* where the code object was
      originally created. This allows co_filename to point to a valid path.
      Problem is that co_filename is immutable from Python, so a private
      function -- imp._fix_co_filename() -- had to be introduced in order to
      get things working properly. Originally the plan was to add a file
      argument to marshal.loads(), but that failed as the algorithm used by
      __import__ is not fully recursive as one might expect, so to be fully
      backwards-compatible the code used by __import__ needed to be exposed.
      
      This closes issue #6811 by taking a different approach than outlined
      in the issue.
      442c9b92
    • Brett Cannon's avatar
      Have importlib use the repr of a module name in error messages. · a7468bc5
      Brett Cannon authored
      This makes it obvious that an import failed because of some extraneous
      whitespace (e.g., a newline).
      
      This is a partial fix for issue #8754.
      a7468bc5
  22. 15 Mar, 2011 1 commit
  23. 14 Mar, 2011 2 commits
  24. 13 Jan, 2011 2 commits
  25. 18 Nov, 2010 1 commit