Skip to content

📝 docs: fix dead links in two code comments - #3463

Merged
gaborbernat merged 3 commits into
pypa:mainfrom
qodelicious:fix-dead-links-in-comments
Oct 27, 2026
Merged

gaborbernat merged 3 commits into
pypa:mainfrom
qodelicious:fix-dead-links-in-comments

Conversation

@qodelicious

@qodelicious qodelicious commented Oct 21, 2026 •

Copy link
Copy Markdown
Contributor

Two links in code comments were dead. 📝 The patch_dist docstring pointed at the distutils configuration file section of the Python docs, which went away with distutils, so it now links to the Python 3.11 copy where the section still exists. The PyPy shared library comment pointed at a Bitbucket issue, and PyPy now tracks the same issue at pypy/pypy#1922.

Only comments change, so runtime behavior stays the same.

  • ran the linter to address style issues (tox -e fix)

  • wrote descriptive pull request text

  • ensured there are test(s) validating the fix

  • added news fragment in docs/changelog folder

  • updated/extended the documentation

  • for changes to activation scripts, pyvenv.cfg, wheel downloads, app-data or release workflows: explained in the PR text which outside input the change handles, such as a path, a prompt or a downloaded file, and how it stops that input from running as code. See the security scope.

  • ran tests on Python 3.9 and 3.15 (tox run -e 3.9,3.15)

  • linked upstream issues beside any temporary interpreter overrides

  • kept the PR in draft until CI passes

@gaborbernat gaborbernat changed the title Fix dead links in two code comments 📝 docs: fix dead links in two code comments Oct 27, 2026
@gaborbernat gaborbernat added the skip news No user-facing changelog entry required label Oct 27, 2026

@gaborbernat gaborbernat left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

patch_dist carried a docstring that restated its comment and ran past
120 characters; the reason and link now share one comment. The PyPy
link says why the shared libraries are copied.
@gaborbernat
gaborbernat merged commit 784cb1b into pypa:main Oct 27, 2026
75 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation skip news No user-facing changelog entry required

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants