| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | [3.13] gh-123880: Allow recursive import of single-phase-init modules ↵ | Miss Islington (bot) | 2024-09-23 | 1 | -0/+13 |
| | | | | | | | | | | | | (GH-123950) (#124273) gh-123880: Allow recursive import of single-phase-init modules (GH-123950) (cherry picked from commit aee219f4558dda619bd86e4b0e028ce47a5e4b77) Co-authored-by: Petr Viktorin <encukou@gmail.com> Co-authored-by: Shantanu <12621235+hauntsaninja@users.noreply.github.com> Co-authored-by: Brett Cannon <brett@python.org> | ||||
| * | gh-117860: Add tests for resolving names when import rebind names (GH-118176) | Serhiy Storchaka | 2024-04-30 | 4 | -0/+17 |
| | | | | | | | Add tests for "import", pkgutil.resolve_name() and unittest.mock.path() for cases when "import a.b as x" and "from a import b as x" give different results. | ||||
| * | gh-95754: Better AttributeError on partially initialised module (#112577) | Shantanu | 2023-12-21 | 1 | -0/+3 |
| | | | | Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> | ||||
| * | gh-108303: Move `double_const` to `test_import` where it belongs (#112108) | Nikita Sobolev | 2023-12-11 | 1 | -0/+30 |
| | | |||||
| * | bpo-44717: improve AttributeError on circular imports of submodules (GH-27338) | Filipe Laíns | 2021-07-24 | 3 | -0/+4 |
| | | |||||
| * | Revert "bpo-44717: improve AttributeError on circular imports of submodules ↵ | Pablo Galindo Salgado | 2021-07-24 | 3 | -4/+0 |
| | | | | | | (GH-27299)" (GH-27331) This reverts commit 8072a1181dd64135f700b44372fbf7bf91e68072. | ||||
| * | bpo-44717: improve AttributeError on circular imports of submodules (GH-27299) | Filipe Laíns | 2021-07-24 | 3 | -0/+4 |
| | | | | | | Signed-off-by: Filipe Laíns <lains@riseup.net> Co-authored-by: Łukasz Langa <lukasz@langa.pl> | ||||
| * | bpo-39336: Allow packages to not let their child modules be set on them (#18006) | Dino Viehland | 2020-01-23 | 2 | -0/+12 |
| | | | | | | * bpo-39336: Allow setattr to fail on modules which aren't assignable When attaching a child module to a package if the object in sys.modules raises an AttributeError (e.g. because it is immutable) it causes the whole import to fail. This now allows immutable packages to exist and an ImportWarning is reported and the AttributeError exception is ignored. | ||||
| * | bpo-20490: Improve circular import error message (GH-15308) | Anthony Sottile | 2019-09-09 | 2 | -0/+4 |
| | | |||||
| * | bpo-33237: Improve AttributeError message for partially initialized module. ↵ | Serhiy Storchaka | 2018-10-30 | 2 | -0/+4 |
| | | | | | (GH-6398) | ||||
| * | bpo-30876: Relative import from unloaded package now reimports the package ↵ | Serhiy Storchaka | 2017-07-12 | 2 | -0/+3 |
| | | | | | | | | | | (#2639) instead of failing with SystemError. Relative import from non-package now fails with ImportError rather than SystemError. | ||||
| * | bpo-30814: Fixed a race condition when import a submodule from a package. ↵ | Serhiy Storchaka | 2017-07-06 | 2 | -0/+2 |
| | | | | | (#2580) | ||||
| * | bpo-30024: Circular imports involving absolute imports with binding (#1264) | Serhiy Storchaka | 2017-05-09 | 2 | -0/+2 |
| | | | | a submodule to a name are now supported. | ||||
| * | Whitespace | Antoine Pitrou | 2014-10-13 | 6 | -6/+6 |
| | | |||||
| * | Issue #17636: Circular imports involving relative imports are now supported. | Antoine Pitrou | 2014-10-13 | 9 | -0/+18 |
