Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

gh-84013: normalize directory contents during import#113447

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Open
ronaldoussoren wants to merge11 commits intopython:main
base:main
Choose a base branch
Loading
fromronaldoussoren:gh-84013
Open
Changes from1 commit
Commits
Show all changes
11 commits
Select commitHold shift + click to select a range
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
PrevPrevious commit
NextNext commit
Revert accidental reordering
  • Loading branch information
@ronaldoussoren
ronaldoussoren committedDec 29, 2023
commit80b6eec9bcac6436bd2d065bc77b87bb50a7bffd
4 changes: 2 additions & 2 deletionsLib/importlib/_bootstrap_external.py
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -1622,11 +1622,11 @@ def find_spec(self, fullname, target=None):
if not tail_module.isascii() and not self._cache_is_normalized:
self._normalize_cache()
if _relax_case():
cache_module = tail_module.lower()
cache = self._relaxed_path_cache
cache_module = tail_module.lower()
else:
cache_module = tail_module
cache = self._path_cache
cache_module = tail_module
# Check if the module is the name of a directory (and thus a package).
try:
cache_path = cache[cache_module]
Expand Down

[8]ページ先頭

©2009-2025 Movatter.jp