Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | List what classes from importlib.machinery don't work with ↵ | Brett Cannon | 2016-02-21 | 1 | -1/+2 |
| | | | | importlib.util.LazyLoader | ||||
* | Issue #26242: Fix another one in importlib.rst | Berker Peksag | 2016-01-30 | 1 | -1/+1 |
| | |||||
* | Fix a typo in a code example | Brett Cannon | 2016-01-22 | 1 | -1/+1 |
| | |||||
* | Issue #21240: Add an abstractmethod directive to mark abstract methods in ↵ | Berker Peksag | 2015-12-08 | 1 | -6/+6 |
| | | | | the docs more explicitly | ||||
* | Issue #25161: Merge full stops from 3.4 into 3.5 | Martin Panter | 2015-10-10 | 1 | -1/+1 |
|\ | |||||
| * | Issue #25161: Add full stops in documentation; patch by Takase Arihiro | Martin Panter | 2015-10-10 | 1 | -1/+1 |
| | | |||||
* | | Issue #20769: Improve reload() docs. Patch by Dorian Pula. | Robert Collins | 2015-08-04 | 1 | -5/+5 |
|\ \ | |/ | |||||
| * | Issue #20769: Improve reload() docs. Patch by Dorian Pula. | Robert Collins | 2015-08-04 | 1 | -5/+5 |
| | | |||||
* | | PEP 489: Multi-phase extension module initialization | Nick Coghlan | 2015-05-23 | 1 | -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 Murray | 2015-05-02 | 1 | -6/+0 |
|\ \ | |/ | |||||
| * | #24081: Remove obsolete caveat from import docs. | R David Murray | 2015-05-02 | 1 | -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 Hastings | 2015-04-19 | 1 | -1/+1 |
| | | |||||
* | | Issue #23731: Implement PEP 488. | Brett Cannon | 2015-04-13 | 1 | -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 Cannon | 2015-02-20 | 1 | -6/+13 |
| | | |||||
* | | Issue #23014: Make importlib.abc.Loader.create_module() required when | Brett Cannon | 2015-01-09 | 1 | -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 current | Brett Cannon | 2014-11-21 | 1 | -0/+5 |
| | | | | | | | | | | | | working directory no longer exists. Thanks to Martin Panter for the bug report. | ||||
* | | merge with 3.4 | Georg Brandl | 2014-10-29 | 1 | -1/+1 |
|\ \ | |/ | |||||
| * | Fixing broken links in doc, part 4: some more breaks and redirects | Georg Brandl | 2014-10-29 | 1 | -1/+1 |
| | | |||||
* | | Merge with 3.4 | Georg Brandl | 2014-10-29 | 1 | -1/+1 |
|\ \ | |/ | |||||
| * | Use https:// URLs when referring to python.org hosts. | Georg Brandl | 2014-10-29 | 1 | -1/+1 |
| | | |||||
* | | Issue #20383: Introduce importlib.util.module_from_spec(). | Brett Cannon | 2014-05-30 | 1 | -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 a | Brett Cannon | 2014-05-09 | 1 | -1/+7 |
| | | | | | | | | staticmethod. | ||||
* | | Merge for issue #21438 | Brett Cannon | 2014-05-09 | 1 | -1/+11 |
|\ \ | |/ | |||||
| * | Issue #21438: Document what loaders don't require a module name for | Brett Cannon | 2014-05-09 | 1 | -1/+11 |
| | | | | | | | | load_module(). | ||||
* | | Issue #17621: Introduce importlib.util.LazyLoader. | Brett Cannon | 2014-04-04 | 1 | -0/+35 |
|/ | |||||
* | Get rid of deprecated IOError in the doc | Andrew Svetlov | 2014-03-31 | 1 | -6/+6 |
| | |||||
* | Fix a few scoping issues with versionadded/versionchanged directives. | Georg Brandl | 2014-03-24 | 1 | -2/+2 |
| | |||||
* | Merge in all documentation changes since branching 3.4.0rc1. | Larry Hastings | 2014-03-16 | 1 | -1/+1 |
| | |||||
* | Merge for issue #20488 | Brett Cannon | 2014-02-06 | 1 | -6/+8 |
|\ | |||||
| * | Issue #20488: Update docs to say importlib is *the* implementaiton of | Brett Cannon | 2014-02-06 | 1 | -6/+8 |
| | | | | | | | | import and not *an* implementation. | ||||
* | | Issue 19944: Fix importlib.find_spec() so it imports parents as needed. | Eric Snow | 2014-01-25 | 1 | -17/+17 |
| | | | | | | | | The function is also moved to importlib.util. | ||||
* | | whatsnew: InspectLoader.get_code now concrete, b32decode raises binascii.Error. | R David Murray | 2014-01-08 | 1 | -4/+4 |
| | | | | | | | | And a news item rephrase. | ||||
* | | Issue #19719: Update various finder and loader ABCs such that their | Brett Cannon | 2014-01-07 | 1 | -2/+14 |
| | | | | | | | | | | | | | | old methods now provide implementations when PEP 451 APIs are present. This should help with backwards-compatibility with code which has not been updated to work with PEP 451. | ||||
* | | Issue #19713: Update importlib docs for module spec changes, including ↵ | Eric Snow | 2013-12-17 | 1 | -22/+150 |
| | | | | | | | | deprecations. | ||||
* | | merge for issue #19963 | Brett Cannon | 2013-12-13 | 1 | -2/+5 |
|\ \ | |/ | |||||
| * | Issue #19963: Document that importlib.import_module() will import | Brett Cannon | 2013-12-13 | 1 | -2/+5 |
| | | | | | | | | parent packages automatically. | ||||
| * | Revert unrelated changes introduced by changeset b2066bc8cab9 (issue #19795). | Serhiy Storchaka | 2013-11-29 | 1 | -10/+0 |
| | | |||||
* | | Issue #18864: Add a setter for ModuleSpec.has_location. | Eric Snow | 2013-12-11 | 1 | -1/+1 |
| | | |||||
* | | Issue #19795: Improved markup of True/False constants. | Serhiy Storchaka | 2013-11-29 | 1 | -2/+2 |
|\ \ | |/ | |||||
| * | Issue #19795: Improved markup of True/False constants. | Serhiy Storchaka | 2013-11-29 | 1 | -0/+10 |
| | | |||||
* | | Implement PEP 451 (ModuleSpec). | Eric Snow | 2013-11-22 | 1 | -64/+80 |
| | | |||||
* | | Issue #19410: Put back in special-casing of '' for | Brett Cannon | 2013-11-01 | 1 | -3/+0 |
| | | | | | | | | | | | | | | | | | | importlib.machinery.FileFinder. While originally moved to stop special-casing '' as PathFinder farther up the typical call chain now uses the cwd in the instance of '', it was deemed an unnecessary risk to breaking subclasses of FileFinder to take the special-casing out. | ||||
* | | Tweak some doc wording for importlib.reload | Brett Cannon | 2013-10-25 | 1 | -2/+3 |
| | | |||||
* | | Doc markup fixes. | Georg Brandl | 2013-10-19 | 1 | -2/+2 |
| | | |||||
* | | Issue #18416: Have importlib.machinery.PathFinder treat '' as the cwd | Brett Cannon | 2013-10-18 | 1 | -0/+7 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | and stop importlib.machinery.FileFinder treating '' as '.'. Previous PathFinder transformed '' into '.' which led to __file__ for modules imported from the cwd to always be relative paths. This meant the values of the attribute were wrong as soon as the cwd changed. This change now means that as long as the site module is run (which makes all entries in sys.path absolute) then all values for __file__ will also be absolute unless it's for __main__ when specified by file path in a relative way (modules imported by runpy will have an absolute path). Now that PathFinder is no longer treating '' as '.' it only makes sense for FileFinder to stop doing so as well. Now no transformation is performed for the directory given to the __init__ method. Thanks to Madison May for the initial patch. | ||||
* | | Issue #18758: Fixed and improved cross-references. | Serhiy Storchaka | 2013-10-13 | 1 | -1/+1 |
|\ \ | |/ | |||||
| * | [issue19152] Revert 832579dbafd6. | Eric Snow | 2013-10-03 | 1 | -5/+1 |
| | | |||||
| * | [issue19152] Add ExtensionFileLoader.get_filename(). | Eric Snow | 2013-10-03 | 1 | -1/+5 |
| | | |||||
* | | [issue 19152] Add versionadded for ExtensionFileLoader.get_filename(). | Eric Snow | 2013-10-05 | 1 | -0/+2 |
| | | |||||
* | | [issue19152] Add ExtensionFileLoader.get_filename(). | Eric Snow | 2013-10-03 | 1 | -1/+5 |
| | |