]> granicus.if.org Git - python/commitdiff
#14798: pyclbr now raises ImportError instead of KeyError for missing packages
authorPetri Lehtinen <petri@digip.org>
Fri, 18 May 2012 18:51:11 +0000 (21:51 +0300)
committerPetri Lehtinen <petri@digip.org>
Fri, 18 May 2012 18:59:49 +0000 (21:59 +0300)
1  2 
Lib/pyclbr.py
Misc/ACKS
Misc/NEWS

diff --cc Lib/pyclbr.py
Simple merge
diff --cc Misc/ACKS
Simple merge
diff --cc Misc/NEWS
index db88500478ff1bc79fad056e24476c13e284f526,1e7153d0807d4b86f191c0b403d17c664d8b2bd3..1c3841b7009ce1383b7a0d3fe363364165b056e9
+++ b/Misc/NEWS
@@@ -38,16 -63,10 +38,20 @@@ Core and Builtin
  Library
  -------
  
+ - Issue #14798: Fix the functions in pyclbr to raise an ImportError
+   when the first part of a dotted name is not a package. Patch by
+   Xavier de Gaye.
 +- Issue #12098: multiprocessing on Windows now starts child processes
 +  using the same sys.flags as the current process.  Initial patch by
 +  Sergey Mezentsev.
 +
 +- Issue #13031: Small speed-up for tarfile when unzipping tarfiles.
 +  Patch by Justin Peel.
 +
 +- Issue #14780: urllib.request.urlopen() now has a ``cadefault`` argument
 +  to use the default certificate store.  Initial patch by James Oakley.
 +
  - Issue #14829: Fix bisect and range() indexing with large indices
    (>= 2 ** 32) under 64-bit Windows.