Skip to content

gh-103326: Remove Python/importlib.h#103331

Merged
brettcannon merged 4 commits into
python:mainfrom
sobolevn:issue-103326
Apr 12, 2023
Merged

gh-103326: Remove Python/importlib.h#103331
brettcannon merged 4 commits into
python:mainfrom
sobolevn:issue-103326

Conversation

@sobolevn
Copy link
Copy Markdown
Member

@sobolevn sobolevn commented Apr 7, 2023

Looks like there are no more references of it 🎉
(except history)

» ag importlib.h
Misc/HISTORY
6777:- Issue #15466: Stop using TYPE_INT64 in marshal, to make importlib.h (and other
7108:- Issue #15431: Add _freeze_importlib project to regenerate importlib.h on
7448:  (Modules/_freeze_importlib) to build Python/importlib.h.
8949:- Issue #13591: A bug in importlib has been fixed that caused import_module

Lib/importlib/_bootstrap.py
675:                # See # https://docs.python.org/3/library/importlib.html#importlib.abc.Loader.load_module

@sobolevn
Copy link
Copy Markdown
Member Author

sobolevn commented Apr 7, 2023

No idea what is going on:

Getting the list of files that have been added/changed ... 5 files
Fixing Python file whitespace ... 1 file:
  Tools/c-analyzer/cpython/_parser.py

I didn't touch any whitespaces 🤔

@sobolevn
Copy link
Copy Markdown
Member Author

sobolevn commented Apr 7, 2023

Oh, I see. This file contains tabs in https://github.com/python/cpython/blob/main/Tools/c-analyzer/cpython/_parser.py#L111-L116 and many other places. I don't think that it should be fixed, because tsv is named tab separated values for a reason.

I will open an new issue to ignore this file from this check.

@sobolevn
Copy link
Copy Markdown
Member Author

sobolevn commented Apr 7, 2023

I've opened #103334 to fix this problem. I don't think that it is a blocker.

@brettcannon brettcannon requested a review from hugovk as a code owner April 11, 2023 00:56
Comment thread .github/CODEOWNERS Outdated
Comment thread .github/CODEOWNERS Outdated
sobolevn and others added 2 commits April 11, 2023 09:03
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
@brettcannon brettcannon merged commit 7f3c106 into python:main Apr 12, 2023
aisk pushed a commit to aisk/cpython that referenced this pull request Apr 18, 2023
Co-authored-by: Brett Cannon <brett@python.org>
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants