31 Commits

Author SHA1 Message Date
Victor Stinner
bb0b08540c bpo-40204: Fix reference to terms in the doc (GH-21865)
Sphinx 3 requires to refer to terms with the exact case.

For example, fix the Sphinx 3 warning:

Doc/library/pkgutil.rst:71: WARNING: term Loader not found in case
sensitive match.made a reference to loader instead.
2020-08-14 12:20:05 +02:00
Vinay Sajip
1ed61617a4 bpo-12915: Add pkgutil.resolve_name (GH-18310) 2020-02-14 22:02:13 +00:00
Stéphane Wirtel
12e696b4f0 bpo-35042: Use the :pep: role where a PEP is specified (#10036) 2018-10-26 15:58:26 -07:00
Brett Cannon
071fbcb63b Merge for issue #28424 2016-12-10 14:14:47 -08:00
Brett Cannon
bc538e3852 Issue #28424: Document pkgutil.get_data() doesn't work with namespace packages.
Thanks to Douglas Greiman for the patch.
2016-12-10 14:13:38 -08:00
Senthil Kumaran
c972d1c76f [merge from 3.5] Issue28438 - Fix the link for pkgutil.get_data doc.
Patch contributed by Xiang Zhang.
2016-10-13 22:59:36 -07:00
Senthil Kumaran
1cea56b597 Issue28438 - Fix the link for pkgutil.get_data doc. Patch contributed by Xiang Zhang. 2016-10-13 22:58:47 -07:00
Senthil Kumaran
4672060d86 Update pkgutil docs to reference appropriate finder and loader object documentation.
Initial patch contributed by Jaysinh shukla.
2016-09-05 17:11:51 -07:00
Berker Peksag
18a7d2b455 Add missing versionadded directive 2016-09-08 23:36:25 +03:00
Eric Snow
d5f9223981 Issue #17211: Yield a namedtuple in pkgutil.
Patch by Ramchandra Apte.
2016-09-07 18:37:17 -07:00
Martin Panter
f47a400347 Issue #25533: Update documentation regarding the frozen modules table
* "ctypes" documentation was using Python 2 bytes-str equivalence.
* PyImport_FrozenModules is a pointer to const as of Python 3.4
2016-05-15 00:13:04 +00:00
Georg Brandl
29636aeacc Use deprecated-removed directive, clean up a few markup issues around
deprecated directives.
2014-03-24 08:42:37 +01:00
Éric Araujo
abdc16ee1b Merge 3.3 (#16805) 2014-03-12 19:51:50 -04:00
Éric Araujo
fa5e6e4773 Fix note markup (#16805).
Patch by Tshepang Lekhonkhobe, reviewed by Georg Brandl.
2014-03-12 19:51:00 -04:00
Nick Coghlan
dc855b7b1f Close #20839: pkgutil.find_loader now uses importlib.util.find_spec 2014-03-04 20:39:42 +10:00
Nick Coghlan
8ecf50474c Issue #15343: Handle importlib.machinery.FileFinder instances in pkgutil.walk_packages (et al) 2012-07-15 21:19:18 +10:00
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) 2012-07-15 18:09:52 +10:00
Brett Cannon
15810673dc Minor grammatical tweaks. 2012-07-14 14:30:48 -04:00
Brett Cannon
5c453ce3a4 Use the proper term. 2012-07-09 14:40:38 -04:00
Brett Cannon
b19449751f Issue #15288: Clarify that pkgutil.walk_packages() and friends will no
longer work as expected in Python 3.3 as importlib's loaders do not
implement the non-standard iter_modules() method. Also link to the
term "loader" in the requisite notes to help make it clearer what has
happened.
2012-07-09 14:10:23 -04:00
Brett Cannon
47b3239cc6 Closes issue #14982: Document that pkgutil's walk_packages() and
iter_modules() requires iter_modules() be defined on an importer. The
importers in importlib do not define this non-standard method.
2012-06-15 19:21:07 -04:00
Raymond Hettinger
469271d4ea More source links 2011-01-27 20:38:46 +00:00
Éric Araujo
119cda0fd2 Mark up one missed None in pkgutil.rst (#8851) 2010-12-15 22:37:27 +00:00
Georg Brandl
f1f8d47d38 #7303: add documentation for useful pkgutil functions and classes. 2010-10-15 16:35:46 +00:00
Victor Stinner
766ad36de5 Merged revisions 81163 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r81163 | victor.stinner | 2010-05-14 16:20:07 +0200 (ven., 14 mai 2010) | 2 lines

  Doc: replace PEP xxx by :pep:`xxx` to create a link on the PEP
........
2010-05-14 14:36:18 +00:00