1. 08 Apr, 2019 2 commits
  2. 07 Apr, 2019 4 commits
    • Raymond Hettinger's avatar
    • Brandt Bucher's avatar
      bpo-35936: Updates to modulefinder (GH-11787) · 9d7b2c09
      Brandt Bucher authored
      * Properly handle SyntaxErrors in Python source files.
      
      SyntaxErrors in the target module will rise normally, while SyntaxErrors in dependencies will be added to badmodules. This includes a new regression test.
      
      * Fix name collision bug.
      
      This fixes an issue where a "fromlist" import with the same name as a previously failed import would be incorrectly added to badmodules. This includes a new regression test.
      
      * Replace mutable default values.
      
      Bound empty lists have been replaced with the "if param is None" idiom.
      
      * Replace deprecated imp usage.
      
      Constants imported from imp have been moved to private module-level constants, and ModuleFinder.find_module has been refactored to use importlib. Other than an improvement on how frozen builtin imports are reported (as the frozen imports they are, rather than the stdlib modules they *may* have originated from), these changes maintain complete compatibility with past versions... including odd behavior for returning relative (below current directory, but not a C extension) vs. absolute (above current directory, or a C extension) paths.
      
      Patch by Brandt Bucher.
      9d7b2c09
    • Xtreak's avatar
    • CAM Gerlach's avatar
      bpo-30661: Improve docs for tarfile pax change and effect on shutil (GH-12635) · 89a89440
      CAM Gerlach authored
      The shutil archive creation helpers use the default tarfile format,
      so that API is also switching to use `pax` by default.
      89a89440
  3. 06 Apr, 2019 3 commits
  4. 05 Apr, 2019 6 commits
  5. 04 Apr, 2019 2 commits
  6. 03 Apr, 2019 1 commit
  7. 02 Apr, 2019 8 commits
  8. 01 Apr, 2019 7 commits
  9. 31 Mar, 2019 4 commits
  10. 30 Mar, 2019 3 commits