| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Issue #27895: Spelling fixes (Contributed by Ville Skyttä). | Martin Panter | 2016-09-07 | 1 | -1/+1 |
| | | |||||
| * | [backport to 3.5] - issue26896 - Disambiguate uses of "importer" with "finder". | Senthil Kumaran | 2016-09-07 | 2 | -2/+0 |
| | | |||||
| * | Issue #27782: Fix m_methods handling in multiphase init | Nick Coghlan | 2016-08-21 | 1 | -0/+9 |
| | | | | | | | | | Multi-phase extension module import now correctly allows the ``m_methods`` field to be used to add module level functions to instances of non-module types returned from ``Py_create_mod``. Patch by Xiang Zhang. | ||||
| * | Fix regressions introduced by fixes for issue #27083. | Brett Cannon | 2016-07-16 | 3 | -18/+18 |
| | | |||||
| * | Issue #27083: Respect the PYTHONCASEOK environment variable under | Brett Cannon | 2016-07-15 | 1 | -6/+9 |
| | | | | | | | | | | | Windows. Originally only b'PYTHONCASEOK' was being checked for in os.environ, but that won't work under Windows where all environment variables are strings (on OS X they are bytes). Thanks to Eryk Sun for the bug report. | ||||
| * | Fix a scoping issue where an UnboundLocalError was triggered if a | Brett Cannon | 2016-06-25 | 1 | -3/+13 |
| | | | | | lazy-loaded module was already in sys.modules. | ||||
| * | Issue #26581: Use the first coding cookie on a line, not the last one. | Serhiy Storchaka | 2016-03-20 | 1 | -1/+1 |
| | | |||||
| * | Issue #26186: Remove an invalid type check in | Brett Cannon | 2016-02-21 | 1 | -0/+1 |
| | | | | | | | | | | | | importlib.util.LazyLoader. The class was checking its argument as to whether its implementation of create_module() came directly from importlib.abc.Loader. The problem is that the classes coming from imoprtlib.machinery do not directly inherit from the ABC as they come from _frozen_importlib. Because the documentation has always said that create_module() was ignored, the check has simply been removed. | ||||
| * | Issue #26367: Have importlib.__init__() raise RuntimeError when | Brett Cannon | 2016-02-20 | 1 | -0/+5 |
| | | | | | | | | 'level' is specified but no __package__. This brings the function inline with builtins.__import__(). Thanks to Manuel Jacob for the patch. | ||||
| * | Issue #25595: Fixed test_deleted_cwd in test_importlib on AIX. | Serhiy Storchaka | 2015-11-11 | 1 | -8/+14 |
| | | |||||
| * | use assert method in another place | Benjamin Peterson | 2015-05-30 | 1 | -1/+1 |
| | | |||||
| * | use assert method (#24328) | Benjamin Peterson | 2015-05-29 | 1 | -1/+1 |
| | | |||||
| * | fix importing one char extension modules (closes #24328) | Benjamin Peterson | 2015-05-29 | 1 | -0/+8 |
| | | |||||
| * | Issue #24285: fix importing extensions from packages | Nick Coghlan | 2015-05-26 | 1 | -0/+7 |
| | | |||||
| * | PEP 489: Multi-phase extension module initialization | Nick Coghlan | 2015-05-23 | 1 | -0/+167 |
| | | | | | | | | | | | | | | | | | | | | | | | | 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. | ||||
| * | Issue #15836: assertRaises(), assertRaisesRegex(), assertWarns() and | Serhiy Storchaka | 2015-05-21 | 1 | -1/+0 |
| | | | | | | assertWarnsRegex() assertments now check the type of the first argument to prevent possible user error. Based on patch by Daniel Wagner-Hall. | ||||
| * | Issue #24192: Fix namespace package imports. | Eric Snow | 2015-05-16 | 1 | -1/+1 |
| | | |||||
| * | Issue #23911: Move path-based bootstrap code to a separate frozen module. | Eric Snow | 2015-05-03 | 3 | -6/+6 |
| | | |||||
| * | Issue #23731: Implement PEP 488. | Brett Cannon | 2015-04-13 | 1 | -18/+96 |
| | | | | | | | 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. | ||||
| * | Remove a dead test for a never-launched API | Brett Cannon | 2015-03-27 | 1 | -9/+0 |
| | | |||||
| * | Issue #22834: Drop a redundant comment and use errno instead of an | Brett Cannon | 2015-02-27 | 1 | -2/+2 |
| | | | | | | | integer. Thanks to Serhiy Storchaka and Martin Panter for the suggestions. | ||||
| * | Issue #22834: Fix a failing test under Solaris due to the platform not | Brett Cannon | 2015-02-20 | 1 | -2/+8 |
| | | | | | | | allowing the deletion of the cwd. Thanks to Martin Panter for the initial fix. | ||||
| * | Issue #23014: Make importlib.abc.Loader.create_module() required when | Brett Cannon | 2015-01-09 | 4 | -3/+19 |
| | | | | | | | | | | 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). | ||||
| * | #22980 Adds platform and version tags to .pyd files | Steve Dower | 2014-12-16 | 1 | -0/+24 |
| | | |||||
| * | Issue #22834: cwd can't not exist on Windows, skip the test | Zachary Ware | 2014-11-22 | 1 | -0/+1 |
| | | |||||
| * | Issue #22834: Have import suppress FileNotFoundError when the current | Brett Cannon | 2014-11-21 | 1 | -0/+12 |
| | | | | | | | working directory no longer exists. Thanks to Martin Panter for the bug report. | ||||
| * | Issue #19714: Tests for importlib.machinery.WindowsRegistryFinder. | Brett Cannon | 2014-08-22 | 1 | -2/+63 |
| | | | | | Patch by Claudiu Popa, review by Martin v. Löwis. | ||||
| * | Closes #22002: Merge with 3.4 | Zachary Ware | 2014-07-23 | 12 | -97/+45 |
| |\ | |||||
| | * | Issue #22002: Make full use of test discovery in test sub-packages. | Zachary Ware | 2014-07-23 | 12 | -97/+45 |
| | | | | | | | | | | | | | Adds `load_package_tests` function to test.support, uses it in test_asyncio, test_email, test_json, test_tools, test_importlib and all test_importlib sub-packages to implement test discovery. | ||||
| * | | Issue #19593: Use specific asserts in importlib tests. | Serhiy Storchaka | 2014-07-07 | 4 | -4/+4 |
| |\ \ | |/ | |||||
| | * | Issue #19593: Use specific asserts in importlib tests. | Serhiy Storchaka | 2014-07-07 | 4 | -4/+4 |
| | | | |||||
| * | | Issue #21755: Skip {Frozen,Source}_DeadlockAvoidanceTests tests when | Berker Peksag | 2014-07-03 | 1 | -66/+78 |
| | | | | | | | | | Python is built without threads. | ||||
| * | | Issue #20383: Introduce importlib.util.module_from_spec(). | Brett Cannon | 2014-05-30 | 2 | -197/+142 |
| | | | | | | | | | | | | | 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 21137: Better repr for threading.Lock() | Raymond Hettinger | 2014-05-26 | 1 | -0/+3 |
| | | | |||||
| * | | Issue #21503: Use test_both() consistently in test_importlib. | Eric Snow | 2014-05-16 | 29 | -429/+525 |
| | | | |||||
| * | | Fix a small typo in test_importlib. | Eric Snow | 2014-05-16 | 1 | -2/+2 |
| | | | |||||
| * | | Merge from 3.4 (for #21499). | Eric Snow | 2014-05-13 | 1 | -7/+8 |
| |\ \ | |/ | |||||
| | * | Issue #21499: Ignore __builtins__ in several test_importlib.test_api tests. | Eric Snow | 2014-05-13 | 1 | -7/+8 |
| | | | |||||
| | * | Issue #21097: Move test_namespace_pkgs into test_importlib. | Eric Snow | 2014-03-29 | 15 | -0/+302 |
| | | | |||||
| * | | Issue #19721: Consolidate test_importlib utility code into a single | Brett Cannon | 2014-05-09 | 25 | -270/+249 |
| | | | | | | | | | module. | ||||
| * | | Issue #20776: Flesh out tests for importlib.machinery.PathFinder. | Brett Cannon | 2014-05-09 | 1 | -0/+47 |
| | | | |||||
| * | | Issue #17621: Introduce importlib.util.LazyLoader. | Brett Cannon | 2014-04-04 | 1 | -0/+132 |
| | | | |||||
| * | | Issue #21097: Move test_namespace_pkgs into test_importlib. | Eric Snow | 2014-03-29 | 15 | -0/+302 |
| |/ | |||||
| * | merge 3.3 (#20796) | Benjamin Peterson | 2014-02-27 | 1 | -0/+1 |
| |\ | |||||
| | * | fix importlib test failure when bytecode writing is disabled (closes #20796) | Benjamin Peterson | 2014-02-27 | 1 | -0/+1 |
| | | | | | | | | | Patch by Berker Peksag. | ||||
| | * | Issue #19596: Set untestable tests in test_importlib to None | Zachary Ware | 2013-11-19 | 6 | -55/+26 |
| | | | | | | | | | to avoid reporting success on empty tests. | ||||
| * | | Issue #20763: Fix importlib.machinery.PathFinder to support | Brett Cannon | 2014-02-26 | 1 | -0/+24 |
| | | | | | | | | | | | | | PathEntryFinder instances which only define find_module(). Reported by Yukihiro Nakadaira. | ||||
| * | | Issue 19944: Fix importlib.find_spec() so it imports parents as needed. | Eric Snow | 2014-01-25 | 3 | -150/+182 |
| | | | | | | | | | The function is also moved to importlib.util. | ||||
| * | | Issue #19719: Update various finder and loader ABCs such that their | Brett Cannon | 2014-01-07 | 1 | -0/+132 |
| | | | | | | | | | | | | | | | 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: Add PEP 451-related deprecations. | Eric Snow | 2014-01-07 | 9 | -59/+180 |
| | | | |||||
