| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Issue #21099: Switch applicable importlib tests to use PEP 451 API. | Eric Snow | 2016-05-10 | 7 | -38/+106 |
| | | |||||
| * | Fixes #19711: Add tests for reloading namespace packages. | Eric Snow | 2016-05-10 | 1 | -1/+33 |
| | | |||||
| * | Issue #23277: Remove unused imports in tests. | Serhiy Storchaka | 2016-04-24 | 4 | -6/+0 |
| | | |||||
| * | Issue #23277: Remove unused support.run_unittest import. | Serhiy Storchaka | 2016-04-24 | 1 | -1/+0 |
| | | |||||
| * | Issue #23277: Remove more unused sys and os imports. | Serhiy Storchaka | 2016-04-24 | 1 | -1/+0 |
| | | |||||
| * | Issue #23277: Remove unused sys and os imports | Berker Peksag | 2016-04-24 | 5 | -6/+0 |
| | | | | | Patch by Jon Dufresne. | ||||
| * | Issue #26668: Remove the redundant Lib/test/test_importlib/regrtest.py | Brett Cannon | 2016-04-08 | 1 | -17/+0 |
| | | |||||
| * | Cleanup regrtest "main()" function | Victor Stinner | 2016-03-24 | 1 | -2/+2 |
| | | | | | | | | * Rename libregrtest.main_in_temp_cwd() to libregrtest.main() * Add regrtest.main_in_temp_cwd() alias to libregrtest.main() * Move old main_in_temp_cwd() code into libregrtest.Regrtest.main() * Update multiple scripts to call libregrtest.main() | ||||
| * | Issue #26581: Use the first coding cookie on a line, not the last one. | Serhiy Storchaka | 2016-03-20 | 1 | -1/+1 |
| |\ | |||||
| | * | Issue #26581: Use the first coding cookie on a line, not the last one. | Serhiy Storchaka | 2016-03-20 | 1 | -1/+1 |
| | | | |||||
| * | | Merge for issue #26186 | Brett Cannon | 2016-02-21 | 1 | -0/+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. | ||||
| * | | Merge for issue #26367 | Brett Cannon | 2016-02-20 | 1 | -0/+5 |
| |\ \ | |/ | |||||
| | * | 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 #25985: sys.version_info is now used instead of sys.version | Serhiy Storchaka | 2016-02-11 | 1 | -1/+1 |
| | | | | | | | | | to format short Python version. | ||||
| * | | Issue #18018: Raise an ImportError if a relative import is attempted | Brett Cannon | 2016-01-23 | 1 | -0/+5 |
| | | | | | | | | | | | | | | | | | with no known parent package. Previously SystemError was raised if the parent package didn't exist (e.g., __package__ was set to ''). Thanks to Florent Xicluna and Yongzhi Pan for reporting the issue. | ||||
| * | | whitespace cleanup | Brett Cannon | 2016-01-22 | 1 | -2/+2 |
| | | | |||||
| * | | Issue #25791: Warn when __package__ != __spec__.parent. | Brett Cannon | 2016-01-22 | 2 | -15/+34 |
| | | | | | | | | | | | | | | | | | | | In a previous change, __spec__.parent was prioritized over __package__. That is a backwards-compatibility break, but we do eventually want __spec__ to be the ground truth for module details. So this change reverts the change in semantics and instead raises an ImportWarning when __package__ != __spec__.parent to give people time to adjust to using spec objects. | ||||
| * | | Issue #25791: Raise an ImportWarning when __spec__ or __package__ are | Brett Cannon | 2016-01-15 | 1 | -14/+26 |
| |/ | | | | | | | | not defined for a relative import. This is the start of work to try and clean up import semantics to rely more on a module's spec than on the myriad attributes that get set on a module. Thanks to Rose Ames 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. | ||||
