56 Commits (b2df6319e3a3bd5cecebd2b3ca8e95b0cc87b554)

Author SHA1 Message Date
Senthil Kumaran 32d374215a [backport to 3.5] - issue26896 - Disambiguate uses of "importer" with "finder". 10 years ago
Senthil Kumaran 4672060d86 Update pkgutil docs to reference appropriate finder and loader object documentation. 10 years ago
Eric Snow d5f9223981 Issue #17211: Yield a namedtuple in pkgutil. 10 years ago
Brett Cannon fdcdd9ed80 Issue #26896: Disambiguate uses of "importer" with "finder". 10 years ago
Łukasz Langa 0d18c15fbf Issue #14209: pkgutil.iter_zipimport_modules ignores the prefix for packages 10 years ago
Brett Cannon c0d91aff9a Upgrade the imp module's deprecation to DeprecationWarning. 10 years ago
Brett Cannon 2a17bde930 Issue #20383: Introduce importlib.util.module_from_spec(). 12 years ago
Brett Cannon 8447c703d1 Issue #14710: Fix both pkgutil.find_loader() and get_loader() to not 12 years ago
Eric Snow 658af31372 Issue #21200: Return None from pkgutil.get_loader() when __spec__ is missing. 12 years ago
Nick Coghlan 62b4b9eecb Close #20839: pkgutil.find_loader now uses importlib.util.find_spec 12 years ago
Nick Coghlan dc855b7b1f Close #20839: pkgutil.find_loader now uses importlib.util.find_spec 12 years ago
Eric Snow 6029e08691 Issue 19944: Fix importlib.find_spec() so it imports parents as needed. 12 years ago
Eric Snow 02b9f9d6bb Remove more usage of APIs deprecated by PEP 451. 12 years ago
Eric Snow 37148b27ac Issue #19708: Update pkgutil to use the new importer APIs. 12 years ago
Eric Snow b523f8433a Implement PEP 451 (ModuleSpec). 12 years ago
Nick Coghlan 862542e500 Close #19409: add missing import in pkgutil 12 years ago
Brett Cannon e4f41deccf Issue #17177: The imp module is pending deprecation. 13 years ago
Łukasz Langa 6f69251980 Add reference implementation for PEP 443 13 years ago
Nick Coghlan c4e0d982f3 Close issue #16163: handle submodules in pkgutil.iter_importers 13 years ago
Giampaolo Rodola' 2f50aaf2ff modernize some modules' code by using with statement around open() 13 years ago
Andrew Svetlov f7a17b48d7 Replace IOError with OSError (#16715) 13 years ago
Andrew Svetlov 2aa5f3cf51 Issue #16120: Use |yield from| in stdlib. 14 years ago
Philip Jenvey 4993cc0a5b utilize yield from 14 years ago
Nick Coghlan be7e49fd82 Close #15386: There was a loophole that meant importlib.machinery and imp would sometimes reference an uninitialised copy of importlib._bootstrap 14 years ago
Nick Coghlan 8ecf50474c Issue #15343: Handle importlib.machinery.FileFinder instances in pkgutil.walk_packages (et al) 14 years ago
Nick Coghlan 85e729ec3b Take the first step in resolving the messy pkgutil vs importlib edge cases by basing pkgutil explicitly on importlib, deprecating its internal import emulation and setting __main__.__loader__ correctly so that runpy still works (Affects #15343, #15314, #15357) 14 years ago
Antoine Pitrou b2dd880e0a Issue #15294: Fix a regression in pkgutil.extend_path()'s handling of nested namespace packages. 14 years ago
Eric V. Smith 984b11f88f issue 14660: Implement PEP 420, namespace packages. 14 years ago
Brett Cannon fea73efc9e Issue #14605: Don't error out if get_importer() returns None. 14 years ago
Brett Cannon e0d88a173c Issue #14605: Make explicit the entries on sys.path_hooks that used to 14 years ago
Antoine Pitrou 5136ac0ca2 Issue #13645: pyc files now contain the size of the corresponding source 14 years ago
Ned Deily ed27df7aaa Issue #7367: Fix pkgutil.walk_paths to skip directories whose 15 years ago
Ned Deily 777f2e04ea Issue #7367: Fix pkgutil.walk_paths to skip directories whose 15 years ago
Éric Araujo 0cfb81d13f Use a local name (it was intended to be used but overlooked). 15 years ago
Éric Araujo ea088c5163 Add missing name in pkgutil.__all__ 15 years ago
Victor Stinner 4e86d5b88d Replace open(filename, 'rU') by open(filename, 'r') 15 years ago
Éric Araujo a4e2d4fcf1 Add missing name in pkgutil.__all__ 15 years ago
Brett Cannon 1ab58dfb12 Have pkgutil properly close files. 15 years ago
Georg Brandl ae83d6ee37 Merged revisions 73833,73838,73850-73852,73856-73857 via svnmerge from 17 years ago
Alexandre Vassalotti 515a74fbf9 Issue 4005: Remove .sort() call on dict_keys object. 17 years ago
Benjamin Peterson 821d0f8b1f no 2.3 compat in the py3k lib #3676 17 years ago
Christian Heimes dae2a8939d Merged revisions 62350-62355,62358-62359,62364-62365,62370,62372-62375,62378-62379,62381 via svnmerge from 18 years ago
Nick Coghlan 106fc48336 Issue 2439: add pkgutils.get_data() as a convenience wrapper for the PEP 302 get_data() API (contributed by Paul Moore) 18 years ago
Guido van Rossum 3172c5d263 Patch# 1258 by Christian Heimes: kill basestring. 19 years ago
Skip Montanaro 7a98be2efb Remove RISCOS support 19 years ago
Guido van Rossum b940e113bf SF patch 1631942 by Collin Winter: 19 years ago
Thomas Wouters 0e3f591aee Merged revisions 46753-51188 via svnmerge from 20 years ago
Phillip J. Eby f7575d0cb7 Bug #1529871: The speed enhancement patch #921466 broke Python's compliance 20 years ago
Tim Peters 95621b25dc Whitespace normalization. 20 years ago
Phillip J. Eby eb26ea3f83 Allow the 'onerror' argument to walk_packages() to catch any Exception, not 20 years ago