1. 30 Aug, 2012 4 commits
  2. 29 Aug, 2012 5 commits
  3. 28 Aug, 2012 12 commits
  4. 27 Aug, 2012 5 commits
  5. 26 Aug, 2012 1 commit
  6. 25 Aug, 2012 12 commits
  7. 24 Aug, 2012 1 commit
    • Brett Cannon's avatar
      Issue #15316: Let exceptions raised during imports triggered by the · 12c6bda4
      Brett Cannon authored
      fromlist of __import__ propagate.
      
      The problem previously was that if something listed in fromlist didn't
      exist then that's okay. The fix for that was too broad in terms of
      catching ImportError.
      
      The trick with the solution to this issue is that the proper
      refactoring of import thanks to importlib doesn't allow for a way to
      distinguish (portably) between an ImportError because finders couldn't
      find a loader, or a loader raised the exception. In Python 3.4 the
      hope is to introduce a new exception (e.g. ModuleNotFound) to make it
      clean to differentiate why ImportError was raised.
      12c6bda4