1. 21 Feb, 2016 2 commits
    • Brett Cannon's avatar
      Merge for issue #26186 · e5f4d3c2
      Brett Cannon authored
      e5f4d3c2
    • Brett Cannon's avatar
      Issue #26186: Remove an invalid type check in · 558823a0
      Brett Cannon authored
      importlib.util.LazyLoader.
      
      The class was checking its argument as to whether its implementation
      of create_module() came directly from importlib.abc.Loader. The
      problem is that the classes coming from imoprtlib.machinery do not
      directly inherit from the ABC as they come from _frozen_importlib.
      Because the documentation has always said that create_module() was
      ignored, the check has simply been removed.
      558823a0
  2. 20 Feb, 2016 4 commits
  3. 19 Feb, 2016 8 commits
  4. 18 Feb, 2016 9 commits
  5. 16 Feb, 2016 2 commits
  6. 15 Feb, 2016 5 commits
  7. 14 Feb, 2016 3 commits
  8. 13 Feb, 2016 5 commits
  9. 11 Feb, 2016 2 commits
    • Yury Selivanov's avatar
      Issues #26289 and #26315: Optimize floor/modulo div for single-digit longs · e0b23095
      Yury Selivanov authored
      Microbenchmarks show 2-2.5x improvement.  Built-in 'divmod' function
      is now also ~10% faster.
      
      -m timeit -s "x=22331" "x//2;x//-3;x//4;x//5;x//-6;x//7;x//8;x//-99;x//100;"
      with patch: 0.321          without patch: 0.633
      
      -m timeit -s "x=22331" "x%2;x%3;x%-4;x%5;x%6;x%-7;x%8;x%99;x%-100;"
      with patch: 0.224          without patch: 0.66
      
      Big thanks to Serhiy Storchaka, Mark Dickinson and Victor Stinner for
      thorow code reviews and algorithms improvements.
      e0b23095
    • Serhiy Storchaka's avatar
      Null merge · 2da89d70
      Serhiy Storchaka authored
      2da89d70