summaryrefslogtreecommitdiffstats
path: root/Doc/library/importlib.rst
Commit message (Collapse)AuthorAgeFilesLines
* Issue #28896: Deprecate WindowsRegistryFinderSteve Dower2016-12-071-0/+4
|
* Fixed double hyphens that are rendered to literal en-dashes in the documenation.Serhiy Storchaka2016-12-041-2/+2
|\
| * Fixed double hyphens that are rendered to literal en-dashes in the documenation.Serhiy Storchaka2016-12-041-2/+2
| |
* | Issue #19795: Mark up None as literal text.Serhiy Storchaka2016-10-191-6/+6
|\ \ | |/
| * Issue #19795: Mark up None as literal text.Serhiy Storchaka2016-10-191-6/+6
| |
* | Issue #27853: Add section headers to the importlib example docsBrett Cannon2016-09-081-0/+19
| |
* | Issue #26667: Add path-like object support to importlib.util.Brett Cannon2016-09-081-0/+9
| |
* | merge 3.5 (#27957)Benjamin Peterson2016-09-051-1/+1
|\ \ | |/
| * remove ungrammarical apostrophe (closes #27957)Benjamin Peterson2016-09-051-1/+1
| |
* | Issue #27626: Merge spelling fixes from 3.5Martin Panter2016-07-281-1/+1
|\ \ | |/
| * Issue #27626: Spelling fixes in docs, comments and internal namesMartin Panter2016-07-281-1/+1
| | | | | | | | Based on patch by Ville Skyttä.
* | Issue #26186: Remove the restriction that built-in and extensionBrett Cannon2016-06-251-14/+24
| | | | | | | | | | | | | | | | modules can't be lazily loaded. Thanks to Python 3.6 allowing for types.ModuleType to have its __class__ mutated, the restriction can be lifted by calling create_module() on the wrapped loader.
* | Merge with 3.5Terry Jan Reedy2016-06-231-0/+14
|\ \ | |/
| * Issue #27304: Source code links for sub-packages in the same file.Terry Jan Reedy2016-06-231-0/+14
| | | | | | | | Patch by Yoni Lavi
* | Merge Issue #22558.Terry Jan Reedy2016-06-111-0/+3
|\ \ | |/
| * Issue #22558: Add remaining doc links to source code for Python-coded modules.Terry Jan Reedy2016-06-111-0/+3
| | | | | | | | | | Reformat header above separator line (added if missing) to a common format. Patch by Yoni Lavi.
* | Issue #27147: Mention PEP 420 in the importlib docs.Eric Snow2016-05-281-0/+3
|\ \ | |/
| * Issue #27147: Mention PEP 420 in the importlib docs.Eric Snow2016-05-281-0/+3
| |
* | Issue #26252: Add an example on how to register a finderBrett Cannon2016-03-181-2/+32
| |
* | Fix a name in an exampleBrett Cannon2016-02-211-1/+1
| |
* | Issue #26397: Update an importlib example to use util.module_from_spec() ↵Brett Cannon2016-02-211-1/+1
| | | | | | | | instead of create_module()
* | Merge w/ 3.5Brett Cannon2016-02-211-1/+2
|\ \ | |/
| * List what classes from importlib.machinery don't work with ↵Brett Cannon2016-02-211-1/+2
| | | | | | | | importlib.util.LazyLoader
* | Issue #26242: Fix another one in importlib.rstBerker Peksag2016-01-301-1/+1
|\ \ | |/
| * Issue #26242: Fix another one in importlib.rstBerker Peksag2016-01-301-1/+1
| |
* | Merge from 3.5Brett Cannon2016-01-221-1/+1
|\ \ | |/
| * Fix a typo in a code exampleBrett Cannon2016-01-221-1/+1
| |
* | Issue #25802: Add an examples section to importlib.Brett Cannon2016-01-081-2/+89
| | | | | | | | Thanks to Berker Peksag for the patch review.
* | Issue #25802: Deprecate load_module() on ↵Brett Cannon2015-12-291-0/+8
|/ | | | | | | importlib.machinery.SourceFileLoader and SourcelessFileLoader. They were the only remaining implementations of load_module() not documented as deprecated.
* Issue #21240: Add an abstractmethod directive to mark abstract methods in ↵Berker Peksag2015-12-081-6/+6
| | | | the docs more explicitly
* Issue #25161: Merge full stops from 3.4 into 3.5Martin Panter2015-10-101-1/+1
|\
| * Issue #25161: Add full stops in documentation; patch by Takase ArihiroMartin Panter2015-10-101-1/+1
| |
* | Issue #20769: Improve reload() docs. Patch by Dorian Pula.Robert Collins2015-08-041-5/+5
|\ \ | |/
| * Issue #20769: Improve reload() docs. Patch by Dorian Pula.Robert Collins2015-08-041-5/+5
| |
* | PEP 489: Multi-phase extension module initializationNick Coghlan2015-05-231-9/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Known limitations of the current implementation: - documentation changes are incomplete - there's a reference leak I haven't tracked down yet The leak is most visible by running: ./python -m test -R3:3 test_importlib However, you can also see it by running: ./python -X showrefcount Importing the array or _testmultiphase modules, and then deleting them from both sys.modules and the local namespace shows significant increases in the total number of active references each cycle. By contrast, with _testcapi (which continues to use single-phase initialisation) the global refcounts stabilise after a couple of cycles.
* | Merge: #24081: Remove obsolete caveat from import docs.R David Murray2015-05-021-6/+0
|\ \ | |/
| * #24081: Remove obsolete caveat from import docs.R David Murray2015-05-021-6/+0
| | | | | | | | | | | | | | Per Eric Snow's research, this changed in Python 2.4 in changeset 331e60d8ce, but these docs were not updated. Patch by Peter Viktorin.
* | Regenerated pydoc-topics and fixed bad/suspicious doc markup for Python 3.5.0a4.Larry Hastings2015-04-191-1/+1
| |
* | Issue #23731: Implement PEP 488.Brett Cannon2015-04-131-13/+35
| | | | | | | | | | | | The concept of .pyo files no longer exists. Now .pyc files have an optional `opt-` tag which specifies if any extra optimizations beyond the peepholer were applied.
* | Issue #23422: Clarify some things around importlib.import_module()Brett Cannon2015-02-201-6/+13
| |
* | Issue #23014: Make importlib.abc.Loader.create_module() required whenBrett Cannon2015-01-091-10/+14
| | | | | | | | | | | | | | | | | | importlib.abc.Loader.exec_module() is also defined. Before this change, create_module() was optional **and** could return None to trigger default semantics. This change now reduces the options for choosing default semantics to one and in the most backporting-friendly way (define create_module() to return None).
* | Issue #22834: Have import suppress FileNotFoundError when the currentBrett Cannon2014-11-211-0/+5
| | | | | | | | | | | | working directory no longer exists. Thanks to Martin Panter for the bug report.
* | merge with 3.4Georg Brandl2014-10-291-1/+1
|\ \ | |/
| * Fixing broken links in doc, part 4: some more breaks and redirectsGeorg Brandl2014-10-291-1/+1
| |
* | Merge with 3.4Georg Brandl2014-10-291-1/+1
|\ \ | |/
| * Use https:// URLs when referring to python.org hosts.Georg Brandl2014-10-291-1/+1
| |
* | Issue #20383: Introduce importlib.util.module_from_spec().Brett Cannon2014-05-301-0/+15
| | | | | | | | | | | | Along the way, dismantle importlib._bootstrap._SpecMethods as it was no longer relevant and constructing the new function required partially dismantling the class anyway.
* | Issue #21156: importlib.abc.InspectLoader.source_to_code() is now aBrett Cannon2014-05-091-1/+7
| | | | | | | | staticmethod.
* | Merge for issue #21438Brett Cannon2014-05-091-1/+11
|\ \ | |/
| * Issue #21438: Document what loaders don't require a module name forBrett Cannon2014-05-091-1/+11
| | | | | | | | load_module().