Skip to content

Conversation

@SpecLad
Copy link
Contributor

@SpecLad SpecLad commented Jul 12, 2025

  • .pyc files can now only occur inside __pycache__ directories, wich are already ignored separately.

  • .pyo files were obsoleted in Python 3.5 (PEP 488).

  • .pyd files should never legitimately occur in the pip source tree, as it is a pure Python project.

* `.pyc` files can now only occur inside `__pycache__` directories,
  wich are already ignored separately.

* `.pyo` files were obsoleted in Python 3.5 (PEP 488).

* `.pyd` files should never legitimately occur in the pip source tree,
  as it is a pure Python project.
@SpecLad
Copy link
Contributor Author

SpecLad commented Jul 12, 2025

This was inspired by #13473 (comment) and by the fact that I also found some random .pyd files in my source directory that shouldn't have been there.

@pfmoore pfmoore merged commit 18694f6 into pypa:main Jul 12, 2025
12 checks passed
@pfmoore
Copy link
Member

pfmoore commented Jul 12, 2025

Thanks for the contribution, @SpecLad

@SpecLad SpecLad deleted the rm-gitignore branch July 12, 2025 20:26
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jul 28, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants