cpython/Lib/test/test_import/data
Serhiy Storchaka 6826166280
gh-135801: Improve filtering by module in warn_explicit() without module argument (GH-140151)
* Try to match the module name pattern with module names constructed
  starting from different parent directories of the filename.
  E.g., for "/path/to/package/module" try to match with
  "path.to.package.module", "to.package.module", "package.module" and
  "module".
* Ignore trailing "/__init__.py".
* Ignore trailing ".pyw" on Windows.
* Keep matching with the full filename (without optional ".py" extension)
  for compatibility.
* Only ignore the case of the ".py" extension on Windows.
2025-10-30 15:55:39 +02:00
..
circular_imports gh-123880: Allow recursive import of single-phase-init modules (GH-123950) 2024-09-20 10:27:34 +02:00
package
package2
package3 gh-117860: Add tests for resolving names when import rebind names (GH-118176) 2024-04-30 17:23:44 +03:00
package4 gh-117860: Add tests for resolving names when import rebind names (GH-118176) 2024-04-30 17:23:44 +03:00
unwritable
double_const.py
syntax_warnings.py gh-135801: Improve filtering by module in warn_explicit() without module argument (GH-140151) 2025-10-30 15:55:39 +02:00