Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | bpo-32374: Ignore Python-level exceptions in test_bad_traverse (GH-7145) | Marcel Plch | 2018-05-28 | 1 | -7/+13 |
| | |||||
* | bpo-33629: Prevent coredump in test_importlib (GH-7090) | Victor Stinner | 2018-05-24 | 1 | -1/+4 |
| | | | | | bpo-32374, bpo-33629: Use support.SuppressCrashReport() in test_bad_traverse() of MultiPhaseExtensionModuleTests to prevent leaking a core dump file. | ||||
* | bpo-32374: m_traverse may be called with m_state=NULL (GH-5140) | Marcel Plch | 2018-03-17 | 1 | -1/+15 |
| | | | | | Multi-phase initialized modules allow m_traverse to be called while the module is still being initialized, so module authors may need to account for that. | ||||
* | Merge #27782 fix from 3.5 | Nick Coghlan | 2016-08-21 | 1 | -0/+9 |
|\ | |||||
| * | 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. | ||||
* | | Merge for #27083 | Brett Cannon | 2016-07-16 | 1 | -8/+6 |
|\ \ | |/ | |||||
| * | Fix regressions introduced by fixes for issue #27083. | Brett Cannon | 2016-07-16 | 1 | -8/+6 |
| | | |||||
* | | Issue #21099: Switch applicable importlib tests to use PEP 451 API. | Eric Snow | 2016-05-10 | 2 | -3/+0 |
| | | |||||
* | | Issue #23277: Remove unused imports in tests. | Serhiy Storchaka | 2016-04-24 | 1 | -1/+0 |
| | | |||||
* | | Issue #23277: Remove unused sys and os imports | Berker Peksag | 2016-04-24 | 2 | -2/+0 |
|/ | | | | Patch by Jon Dufresne. | ||||
* | 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 #23911: Move path-based bootstrap code to a separate frozen module. | Eric Snow | 2015-05-03 | 1 | -3/+3 |
| | |||||
* | Closes #22002: Merge with 3.4 | Zachary Ware | 2014-07-23 | 2 | -12/+8 |
|\ | |||||
| * | Issue #22002: Make full use of test discovery in test sub-packages. | Zachary Ware | 2014-07-23 | 2 | -12/+8 |
| | | | | | | | | | | | | 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 #21503: Use test_both() consistently in test_importlib. | Eric Snow | 2014-05-16 | 4 | -10/+16 |
| | | |||||
* | | Issue #19721: Consolidate test_importlib utility code into a single | Brett Cannon | 2014-05-09 | 5 | -50/+27 |
|/ | | | | module. | ||||
* | Issue 19713: Add PEP 451-related deprecations. | Eric Snow | 2014-01-07 | 1 | -1/+4 |
| | |||||
* | Issue #19927: Add __eq__ to path-based loaders in importlib. | Eric Snow | 2014-01-04 | 1 | -0/+9 |
| | |||||
* | Issue #19698: Remove exec_module() from the built-in and extension | Brett Cannon | 2013-11-29 | 1 | -65/+0 |
| | | | | | | | | | | | | | module loaders. Due to the fact that the call signatures for extension modules and built-in modules does not allow for the specifying of what module to initialize and that on Windows all extension modules are built-in modules, work to clean up built-in and extension module initialization will have to wait until Python 3.5. Because of this the semantics of exec_module() would be incorrect, so removing the methods for now is the best option; load_module() is still used as a fallback by importlib and so this won't affect semantics. | ||||
* | Implement PEP 451 (ModuleSpec). | Eric Snow | 2013-11-22 | 3 | -22/+81 |
| | |||||
* | Issue #16803: Move test.test_importlib.extension to use both frozen and ↵ | Brett Cannon | 2013-10-25 | 4 | -44/+44 |
| | | | | source importlib code | ||||
* | Issue #16803: Stop having test.test_importlib.abc ABCs inherit from | Brett Cannon | 2013-10-25 | 2 | -2/+2 |
| | | | | | unittest.TestCase in prep of running tests under frozen and source importlib. | ||||
* | Issue #16826: Revert fix while Windows issues are being worked out. | Meador Inge | 2013-09-04 | 1 | -29/+8 |
|\ | |||||
| * | Issue #16826: Revert fix while Windows issues are being worked out. | Meador Inge | 2013-09-04 | 1 | -29/+8 |
| | | |||||
* | | Issue #16826: Don't check for PYTHONCASEOK when using -E. | Meador Inge | 2013-09-03 | 1 | -8/+29 |
|\ \ | |/ | | | | | | | This commit fixes a regression that sneaked into Python 3.3 where importlib was not respecting -E when checking for the PYTHONCASEOK environment variable. | ||||
| * | Issue #16826: Don't check for PYTHONCASEOK when using -E. | Meador Inge | 2013-09-03 | 1 | -8/+29 |
| | | | | | | | | | | This commit fixes a regression that sneaked into Python 3.3 where importlib was not respecting -E when checking for the PYTHONCASEOK environment variable. | ||||
* | | Issue #17177: stop using imp in test_importlib | Brett Cannon | 2013-06-15 | 3 | -6/+5 |
|/ | |||||
* | Issue #15576: Allow extension modules to be a package's __init__ | Brett Cannon | 2012-08-10 | 4 | -17/+20 |
| | | | | | module again. Also took the opportunity to stop accidentally exporting _imp.extension_suffixes() as public. | ||||
* | Issue #15168: Move importlb.test to test.test_importlib. | Brett Cannon | 2012-07-20 | 6 | -0/+237 |
This should make the Linux distros happy as it is now easier to leave importlib's tests out of their base Python distribution. |