Skip to content

Sphinx linkcheck and broken/redirect occurrences in Python Docs #103484

Open

Description

@rffontenelle

Running make linkcheck in Doc folder outputs thousands of broken and redirected status. It would be nice to clean this up so we can link-check Python in CI/CD for each commit, but right now it is too polluted.

Some of these occurrences could/should be fixed in the docs itself, others can benefit from Sphinx's linkcheck configs e.g. linkcheck_ignore and linkcheck_allow_redirect.

See linkcheck-log.txt for the full log as of commit f2b7ecb.

Fun stats obtained from the above file:

  • Of its 8327 lines, where 7824 are related to BPO -> GH issues. Of 7824, 5744 lines are from whatsnew/changelog and only 20 are not from whatsnew/
  • 241 lines are redirection of CPython CVS URL, fixing /tree/ to /blob/ in GitHub URL
  • 28 lines are broken links, where one broken link is 'https://' from an example in whatsnet/changelog

The way I see, this steps divide in:

  • Clean BPO to GH redirection messages
  • Fix broken links
  • Clean CPython CVS URL redirections
  • Clean GH issues to GH PR redirections
  • Fix the rest of the occurrences.

linkcheck_allow_redirect and linkcheck_ignore can be very handy in this case. linkcheck_allow_redirect makes 'ok' status a redirect that is being spotted by linkcheck, and we have linkcheck_ignore as the last resource.

Questions I have before implementing the solution:

  • Documentation hosted by Read The Docs may have language enabled so example.com is redirected to example.com/en/latest. To handle occurrences, I could add them to linkcheck_allow_redirect or we can use sphinx-ext-intersphinx to map a keyword to the documentation URL (e.g 'rtd' for read-the-docs docs). The last option allows to map to proper language of the target URL linked, similar on how Weblate did)
  • Is there any restrictions to fix broken/redirect links in old whatsnew/.rst?
  • Is there any restrictions to fix broken/redirect links in old whatsnew/changelog.rst (i.e. Misc/NEWS)?
  • Should I create a single Pull Request for all the fixes?

Linked PRs

Activity

  1. merwok commented on Apr 16, 2023

    @merwok
    Member

    A workflow in the main branch applies to other branches?! What a strange system.

  2. rffontenelle commented on Apr 16, 2023

    @rffontenelle
    ContributorAuthor

    Yep. It is a centralized way to control what routines will run in which events (push, pull requests, etc.) and in which branches.

  3. rffontenelle commented on Apr 17, 2023

    @rffontenelle
    ContributorAuthor

    I was sure until now. I mean, what's the point of having branch filters with they don't actually filter on which branch a workflow can or cannot be run?

    on:
      push:
        branches:
          - main
          - '3.11'
          - '3.10'
        ...
  4. hugovk commented on Apr 17, 2023

    @hugovk
    Member

    I expect it's to have as few changes as possible between branches to make it easier for the bot to backport (and for humans when the bot can't do it).

  5. rffontenelle commented on Apr 17, 2023

    @rffontenelle
    ContributorAuthor

    Well, I stand corrected. That means a linkcheck job will need to be added to both main and 3.11. No problem.

  6. added a commit that references this issue on Apr 18, 2023
  7. added a commit that references this issue on Apr 18, 2023
  8. hugovk commented on Apr 18, 2023

    @hugovk
    Member

    We probably don't want to run linkcheck on the CI for a couple of reasons:

    • it takes about 50 minutes to run
    • we can get new failures when things change external to a PR, like a website going down or temporary network failures
  9. added a commit that references this issue on Apr 18, 2023
  10. rffontenelle commented on Apr 18, 2023

    @rffontenelle
    ContributorAuthor

    Fixes to broken links now submitted.

  11. added a commit that references this issue on Apr 20, 2023
  12. added a commit that references this issue on Apr 22, 2023
  13. added a commit that references this issue on Apr 22, 2023
  14. rffontenelle commented on Apr 22, 2023

    @rffontenelle
    ContributorAuthor

    We probably don't want to run linkcheck on the CI for a couple of reasons:

    • it takes about 50 minutes to run

    To reduce this time, a workaround is to include in linkcheck_ignore the links to https://bugs.python.org/ and https://github.com/python/cpython/issues/. A local test (editing conf.py) reduced the time to just 5 minutes!

    I would prefer this is happen only via command-line option e.g. make -C Doc linkcheck SPHINXOPTS='--keep-going -D linkcheck_ignore=<expr>', but I was unable to find the proper <expr>. Any suggestion?

    • we can get new failures when things change external to a PR, like a website going down or temporary network failures

    Indeed, this is something out of control of cpython. We could set higher value in linkcheck_retries and linkcheck_timeout, though.

  15. merwok commented on Apr 22, 2023

    @merwok
    Member

    I would prefer this is happen only via command-line option

    What about defining a custom environment variable (instead of using SPHINXOPTS) that you can read in the config code?

  16. rffontenelle commented on Apr 23, 2023

    @rffontenelle
    ContributorAuthor

    What about defining a custom environment variable (instead of using SPHINXOPTS) that you can read in the config code?

    OMG, awesome idea.

    It is simply the case of checking if $CI environment variable is set, because GitHub Actions sets it. Then, insert the desired URLs:

    if 'CI' in os.environ:
        linkcheck_ignore.insert(0, r'https://bugs.python.org/.*')
        linkcheck_ignore.insert(1, r'https://github.com/python/cpython/issues/\d+') 

    It does reduce run time to 5 minutes. See my test.

  17. added a commit that references this issue on Apr 23, 2023
  18. rffontenelle commented on Apr 23, 2023

    @rffontenelle
    ContributorAuthor

    @hugovk have you considered my idea on adding linkcheck to GitHub Actions with 1) linkcheck_ignore BPO and GH issues to reduce time to 5 minutes; 2) set higher timeout and retries values ?

    Also, I recommend disabling -W flag to error on broken links, but setting up a problem matcher to annotate both broken (as error) and redirects (as warning).

    I can propose a PR for better analysis.

  19. rffontenelle commented on Apr 30, 2023

    @rffontenelle
    ContributorAuthor

    New PR, now aiming occurrences of "redirected permanently". After this one, there is only "redirected with Found" and linkcheck is OK.

  20. added a commit that references this issue on May 2, 2023
  21. added a commit that references this issue on May 2, 2023
  22. added a commit that references this issue on May 2, 2023
  23. rffontenelle commented on Aug 14, 2024

    @rffontenelle
    ContributorAuthor

    After some time, I see new wild links popping up from linkcheck output.

    My main problems now are these, which I hope to get :

    1. pypi role via extlinks, PyPI's URL normalization and "redirected permanently":
      conf.py uses extlinks extension to create the :pypi:`packagename` role, but PyPI is normalizing the URL to lowercase letters and dash instead of underscore. So we're having "redirected permanently" status on these links. For instance, :pypi:`Urwid` results in https://pypi.org/project/Urwid/, but PyPI redirects to https://pypi.org/project/urwid/.
      Is it possible for extlinks to generate an URL with the proper replacements (lowercase letters and dash instead of underscore) so I can avoid adding an ignore exception to linkcheck?

    2. Links to other Sphinx-based documentation causing "redirect with found"
      Python docs links to many other Sphinx-based documentation, which have its URL appended with language and version (e.g. https://babel.pocoo.org/ to https://babel.pocoo.org/en/latest/). Adding exceptions or Interpshinx might add a lot of lines to conf.py, because it would be a least one line per documentation URL

    For the record, these are the currently non-ok output of linkcheck:

    status "broken"
    howto/curses.rst:541: [broken] https://linux.die.net/man/3/ncurses: 403 Client Error: Forbidden for url: https://linux.die.net/man/3/ncurses
    library/functools.rst:220: [broken] https://en.wikipedia.org/wiki/Cache_replacement_policies#Least_recently_used_(LRU): Anchor 'Least_recently_used_%28LRU%29' not found
    library/select.rst:279: [broken] https://linux.die.net/man/4/epoll: 403 Client Error: Forbidden for url: https://linux.die.net/man/4/epoll
    library/ssl.rst:2757: [broken] https://www.openssl.org/docs/man1.1.1/man1/ciphers.html#CIPHER-LIST-FORMAT: Anchor 'CIPHER-LIST-FORMAT' not found
    library/statistics.rst:995: [broken] https://www.statisticshowto.com/probability-and-statistics/z-score/: 403 Client Error: Forbidden for url: https://www.statisticshowto.com/probability-and-statistics/z-score/
    whatsnew/2.4.rst:759: [broken] https://developer-old.gnome.org/glib/2.26/: HTTPSConnectionPool(host='developer-old.gnome.org', port=443): Max retries exceeded with url: /glib/2.26/ (Caused by NameResolutionError(": Failed to resolve 'developer-old.gnome.org' ([Errno -2] Name or service not known)"))
    whatsnew/2.6.rst:191: [broken] https://svn.python.org/view/tracker/importer/: unauthorized
    whatsnew/3.12.rst:361: [broken] https://github.com/python/cpython/tree/main/Modules/_xxsubinterpretersmodule.c: 404 Client Error: Not Found for url: https://github.com/python/cpython/tree/main/Modules/_xxsubinterpretersmodule.c
    whatsnew/3.2.rst:1650: [broken] https://www.openssl.org/docs/man1.0.2/man1/ciphers.html#CIPHER-LIST-FORMAT: Anchor 'CIPHER-LIST-FORMAT' not found
    whatsnew/3.4.rst:1962: [broken] https://ltp.sourceforge.net/coverage/lcov.php: 404 Client Error: Not Found for url: https://ltp.sourceforge.net/coverage/lcov.php
    whatsnew/3.8.rst:2228: [broken] https://ark.intel.com/content/www/us/en/ark/products/76088/intel-core-i7-4960hq-processor-6m-cache-up-to-3-80-ghz.html: 403 Client Error: Forbidden for url: https://ark.intel.com/content/www/us/en/ark/products/76088/intel-core-i7-4960hq-processor-6m-cache-up-to-3-80-ghz.html
    
    status "redirected permanently"
    faq/design.rst:330: [redirected permanently] https://www.nuitka.net/ to https://nuitka.net/
    faq/design.rst:347: [redirected permanently] https://www.pypy.org to https://pypy.org/
    howto/curses.rst:38: [redirected permanently] https://pypi.org/project/Urwid/ to https://pypi.org/project/urwid/
    library/datetime.rst:40: [redirected permanently] https://pypi.org/project/DateType/ to https://pypi.org/project/datetype/
    library/hashlib.rst:23: [redirected permanently] https://csrc.nist.gov/publications/detail/fips/180/4/final to https://csrc.nist.gov/pubs/fips/180-4/upd1/final
    library/hashlib.rst:23: [redirected permanently] https://csrc.nist.gov/publications/detail/fips/202/final to https://csrc.nist.gov/pubs/fips/202/final
    library/hashlib.rst:657: [redirected permanently] https://csrc.nist.gov/publications/detail/sp/800-106/archive/2009-02-25 to https://csrc.nist.gov/pubs/sp/800/106/final
    library/http.cookiejar.rst:140: [redirected permanently] http://kristol.org/cookie/errata.html to https://kristol.org/cookie/errata.html
    library/importlib.metadata.rst:182: [redirected permanently] https://pypi.org/project/backports.entry_points_selectable/ to https://pypi.org/project/backports.entry-points-selectable/
    library/json.rst:14: [redirected permanently] https://www.ecma-international.org/publications-and-standards/standards/ecma-404/ to https://ecma-international.org/publications-and-standards/standards/ecma-404/
    library/os.rst:4513: [redirected permanently] https://discuss.python.org/t/33555 to https://discuss.python.org/t/concerns-regarding-deprecation-of-fork-with-alive-threads/33555
    library/ssl.rst:1566: [redirected permanently] https://www.openssl.org/docs/manmaster/man3/SSL_CTX_load_verify_locations.html to https://docs.openssl.org/master/man3/SSL_CTX_load_verify_locations/
    library/ssl.rst:1642: [redirected permanently] https://www.openssl.org/docs/manmaster/man1/ciphers.html to https://docs.openssl.org/master/man1/ciphers/
    library/ssl.rst:1876: [redirected permanently] https://www.openssl.org/docs/man1.1.1/man3/SSL_CTX_sess_number.html to https://docs.openssl.org/1.1.1/man3/SSL_CTX_sess_number/
    library/ssl.rst:2019: [redirected permanently] https://www.openssl.org/docs/manmaster/man3/SSL_CTX_get_security_level.html to https://docs.openssl.org/master/man3/SSL_CTX_get_security_level/
    library/tkinter.rst:61: [redirected permanently] https://www.packtpub.com/product/python-gui-programming-with-tkinter/9781788835886 to https://www.packtpub.com/en-us/product/python-gui-programming-with-tkinter-9781788835886
    library/typing.rst:2711: [redirected permanently] https://typing.readthedocs.io/en/latest/source/unreachable.html to https://typing.readthedocs.io/en/latest/guides/unreachable.html
    library/typing.rst:42: [redirected permanently] https://pypi.org/project/typing_extensions/ to https://pypi.org/project/typing-extensions/
    library/xmlrpc.client.rst:168: [redirected permanently] https://xmlrpc-c.sourceforge.net/introspection.html to https://xmlrpc-c.sourceforge.io/introspection.html
    reference/introduction.rst:72: [redirected permanently] https://www.pypy.org/ to https://pypy.org/
    using/mac.rst:157: [redirected permanently] https://qt.io to https://www.qt.io/
    using/windows.rst:1288: [redirected permanently] https://pypi.org/project/PyWin32/ to https://pypi.org/project/pywin32/
    using/windows.rst:1308: [redirected permanently] http://timgolden.me.uk/python/win32_how_do_i.html to https://timgolden.me.uk/python/win32_how_do_i.html
    using/windows.rst:611: [redirected permanently] https://www.enthought.com/edm/ to https://assets.enthought.com/downloads/edm/
    whatsnew/2.4.rst:687: [redirected permanently] http://www.lahey.com/float.htm to https://sierraweb.com
    whatsnew/2.4.rst:691: [redirected permanently] http://speleotrove.com/decimal/ to https://speleotrove.com/decimal/
    whatsnew/2.7.rst:1547: [redirected permanently] https://www.openssl.org/docs/man1.0.2/man1/ciphers.html to https://docs.openssl.org/1.0.2/man1/ciphers/
    whatsnew/3.11.rst:2045: [redirected permanently] https://pypi.org/project/Pynche/ to https://pypi.org/project/pynche/
    whatsnew/3.13.rst:1315: [redirected permanently] https://pypi.org/project/crypt_r/ to https://pypi.org/project/crypt-r/
    whatsnew/changelog.rst:19200: [redirected permanently] https://www.openssl.org/docs/man1.1.1/man7/proxy-certificates.html to https://docs.openssl.org/1.1.1/man7/proxy-certificates/
    whatsnew/changelog.rst:8710: [redirected permanently] https://www.openssl.org/news/secadv/20230207.txt to https://openssl-library.org/news/secadv/20230207.txt
    
    status "redirected temporarily"
    c-api/conversion.rst:13: [redirected temporarily] https://manpages.debian.org/snprintf(3) to https://manpages.debian.org/bookworm/manpages-dev/snprintf.3.en.html
    c-api/conversion.rst:19: [redirected temporarily] https://manpages.debian.org/vsnprintf(3) to https://manpages.debian.org/bookworm/manpages-dev/vsnprintf.3.en.html
    c-api/conversion.rst:68: [redirected temporarily] https://manpages.debian.org/strtoul(3) to https://manpages.debian.org/bookworm/manpages-dev/strtoul.3.en.html
    c-api/conversion.rst:82: [redirected temporarily] https://manpages.debian.org/strtol(3) to https://manpages.debian.org/bookworm/manpages-dev/strtol.3.en.html
    library/ctypes.rst:1466: [redirected temporarily] https://manpages.debian.org/dlopen(3) to https://manpages.debian.org/bookworm/manpages-dev/dlopen.3.en.html
    library/datetime.rst:2531: [redirected temporarily] https://manpages.debian.org/strftime(3) to https://manpages.debian.org/bookworm/manpages-dev/strftime.3.en.html
    library/fcntl.rst:162: [redirected temporarily] https://manpages.debian.org/flock(2) to https://manpages.debian.org/bookworm/manpages-dev/flock.2.en.html
    library/fcntl.rst:16: [redirected temporarily] https://manpages.debian.org/fcntl(2) to https://manpages.debian.org/bookworm/manpages-dev/fcntl.2.en.html
    library/fcntl.rst:16: [redirected temporarily] https://manpages.debian.org/ioctl(2) to https://manpages.debian.org/bookworm/manpages-dev/ioctl.2.en.html
    library/io.rst:1164: [redirected temporarily] https://manpages.debian.org/read(2) to https://manpages.debian.org/bookworm/manpages-dev/read.2.en.html
    library/os.rst:1298: [redirected temporarily] https://manpages.debian.org/open(2) to https://manpages.debian.org/bookworm/manpages-dev/open.2.en.html
    library/os.rst:1766: [redirected temporarily] https://manpages.debian.org/splice(2) to https://manpages.debian.org/bookworm/manpages-dev/splice.2.en.html
    library/os.rst:2009: [redirected temporarily] https://manpages.debian.org/access(2) to https://manpages.debian.org/bookworm/manpages-dev/access.2.en.html
    library/os.rst:3801: [redirected temporarily] https://manpages.debian.org/eventfd(2) to https://manpages.debian.org/bookworm/manpages-dev/eventfd.2.en.html
    library/os.rst:3958: [redirected temporarily] https://manpages.debian.org/timerfd_create(2) to https://manpages.debian.org/bookworm/manpages-dev/timerfd_create.2.en.html
    library/os.rst:4019: [redirected temporarily] https://manpages.debian.org/clock_settime(2) to https://manpages.debian.org/bookworm/manpages-dev/clock_settime.2.en.html
    library/os.rst:4019: [redirected temporarily] https://manpages.debian.org/date(1) to https://manpages.debian.org/bookworm/coreutils/date.1.en.html
    library/os.rst:4019: [redirected temporarily] https://manpages.debian.org/settimeofday(2) to https://manpages.debian.org/bookworm/manpages-dev/settimeofday.2.en.html
    library/os.rst:4019: [redirected temporarily] https://manpages.debian.org/timerfd_settime(2) to https://manpages.debian.org/bookworm/manpages-dev/timerfd_settime.2.en.html
    library/os.rst:4049: [redirected temporarily] https://manpages.debian.org/timerfd_gettime(2) to https://manpages.debian.org/bookworm/manpages-dev/timerfd_gettime.2.en.html
    library/os.rst:4601: [redirected temporarily] https://manpages.debian.org/pidfd_open(2) to https://manpages.debian.org/bookworm/manpages-dev/pidfd_open.2.en.html
    library/os.rst:4608: [redirected temporarily] https://manpages.debian.org/waitid(2) to https://manpages.debian.org/bookworm/manpages-dev/waitid.2.en.html
    library/os.rst:5030: [redirected temporarily] https://manpages.debian.org/times(2) to https://manpages.debian.org/bookworm/manpages-dev/times.2.en.html
    library/os.rst:5335: [redirected temporarily] https://manpages.debian.org/ptrace(2) to https://manpages.debian.org/bookworm/manpages-dev/ptrace.2.en.html
    library/os.rst:620: [redirected temporarily] https://manpages.debian.org/namespaces(7) to https://manpages.debian.org/bookworm/manpages/namespaces.7.en.html
    library/os.rst:620: [redirected temporarily] https://manpages.debian.org/setns(2) to https://manpages.debian.org/bookworm/manpages-dev/setns.2.en.html
    library/os.rst:831: [redirected temporarily] https://manpages.debian.org/unshare(2) to https://manpages.debian.org/bookworm/manpages-dev/unshare.2.en.html
    library/pty.rst:93: [redirected temporarily] https://manpages.debian.org/script(1) to https://manpages.debian.org/bookworm/bsdutils/script.1.en.html
    library/resource.rst:307: [redirected temporarily] https://manpages.debian.org/getrusage(2) to https://manpages.debian.org/bookworm/manpages-dev/getrusage.2.en.html
    library/resource.rst:43: [redirected temporarily] https://manpages.debian.org/getrlimit(2) to https://manpages.debian.org/bookworm/manpages-dev/getrlimit.2.en.html
    library/signal.rst:105: [redirected temporarily] https://manpages.debian.org/pthread_sigmask(3) to https://manpages.debian.org/bookworm/manpages-dev/pthread_sigmask.3.en.html
    library/signal.rst:105: [redirected temporarily] https://manpages.debian.org/sigprocmask(2) to https://manpages.debian.org/bookworm/manpages-dev/sigprocmask.2.en.html
    library/signal.rst:130: [redirected temporarily] https://manpages.debian.org/abort(3) to https://manpages.debian.org/bookworm/manpages-dev/abort.3.en.html
    library/signal.rst:134: [redirected temporarily] https://manpages.debian.org/alarm(2) to https://manpages.debian.org/bookworm/manpages-dev/alarm.2.en.html
    library/signal.rst:219: [redirected temporarily] https://manpages.debian.org/signal(7) to https://manpages.debian.org/bookworm/manpages/signal.7.en.html
    library/signal.rst:248: [redirected temporarily] https://manpages.debian.org/signal(2) to https://manpages.debian.org/bookworm/manpages-dev/signal.2.en.html
    library/signal.rst:412: [redirected temporarily] https://manpages.debian.org/pidfd_send_signal(2) to https://manpages.debian.org/bookworm/manpages-dev/pidfd_send_signal.2.en.html
    library/signal.rst:439: [redirected temporarily] https://manpages.debian.org/pthread_kill(3) to https://manpages.debian.org/bookworm/manpages-dev/pthread_kill.3.en.html
    library/signal.rst:563: [redirected temporarily] https://manpages.debian.org/siginterrupt(3) to https://manpages.debian.org/bookworm/manpages-dev/siginterrupt.3.en.html
    library/signal.rst:605: [redirected temporarily] https://manpages.debian.org/sigpending(2) to https://manpages.debian.org/bookworm/manpages-dev/sigpending.2.en.html
    library/signal.rst:620: [redirected temporarily] https://manpages.debian.org/sigwait(3) to https://manpages.debian.org/bookworm/manpages-dev/sigwait.3.en.html
    library/signal.rst:646: [redirected temporarily] https://manpages.debian.org/sigwaitinfo(2) to https://manpages.debian.org/bookworm/manpages-dev/sigwaitinfo.2.en.html
    library/signal.rst:666: [redirected temporarily] https://manpages.debian.org/sigtimedwait(2) to https://manpages.debian.org/bookworm/manpages-dev/sigtimedwait.2.en.html
    library/signal.rst:709: [redirected temporarily] https://manpages.debian.org/head(1) to https://manpages.debian.org/bookworm/coreutils/head.1.en.html
    library/socket.rst:1048: [redirected temporarily] https://manpages.debian.org/getnameinfo(3) to https://manpages.debian.org/bookworm/manpages-dev/getnameinfo.3.en.html
    library/socket.rst:1132: [redirected temporarily] https://manpages.debian.org/inet(3) to https://manpages.debian.org/bookworm/manpages-dev/inet.3.en.html
    library/socket.rst:1528: [redirected temporarily] https://manpages.debian.org/getsockopt(2) to https://manpages.debian.org/bookworm/manpages-dev/getsockopt.2.en.html
    library/socket.rst:1616: [redirected temporarily] https://manpages.debian.org/recv(2) to https://manpages.debian.org/bookworm/manpages-dev/recv.2.en.html
    library/socket.rst:183: [redirected temporarily] https://manpages.debian.org/vsock(7) to https://manpages.debian.org/bookworm/manpages/vsock.7.en.html
    library/socket.rst:1950: [redirected temporarily] https://manpages.debian.org/setsockopt(2) to https://manpages.debian.org/bookworm/manpages-dev/setsockopt.2.en.html
    library/socket.rst:555: [redirected temporarily] https://manpages.debian.org/packet(7) to https://manpages.debian.org/bookworm/manpages/packet.7.en.html
    library/stat.rst:459: [redirected temporarily] https://manpages.debian.org/chflags(2) to https://manpages.debian.org/bookworm/freebsd-manpages/chflags.2freebsd.en.html
    library/termios.rst:14: [redirected temporarily] https://manpages.debian.org/termios(3) to https://manpages.debian.org/bookworm/manpages-dev/termios.3.en.html
    library/time.rst:151: [redirected temporarily] https://manpages.debian.org/pthread_getcpuclockid(3) to https://manpages.debian.org/bookworm/manpages-dev/pthread_getcpuclockid.3.en.html
    library/time.rst:805: [redirected temporarily] https://manpages.debian.org/tzfile(5) to https://manpages.debian.org/bookworm/manpages/tzfile.5.en.html
    library/tkinter.rst:586: [redirected temporarily] https://manpages.debian.org/options(3) to https://manpages.debian.org/bookworm/libcvc4-dev/options.3cvc.en.html
    library/tkinter.rst:879: [redirected temporarily] https://manpages.debian.org/bind(3tk) to https://manpages.debian.org/bookworm/tk8.6-doc/bind.3tk.en.html
    whatsnew/3.13.rst:1315: [redirected temporarily] https://manpages.debian.org/crypt_r(3) to https://manpages.debian.org/bookworm/libcrypt-dev/crypt_r.3.en.html
    
    status "redirected with Found"
    about.rst:6: [redirected with Found] https://www.sphinx-doc.org/ to https://www.sphinx-doc.org/en/master/
    distributing/index.rst:14: [redirected with Found] https://packaging.python.org/ to https://packaging.python.org/en/latest/
    extending/building.rst:54: [redirected with Found] https://setuptools.readthedocs.io/en/latest/setuptools.html to https://setuptools.pypa.io/en/latest/setuptools.html
    extending/extending.rst:25: [redirected with Found] https://cffi.readthedocs.io/ to https://cffi.readthedocs.io/en/stable/
    extending/index.rst:28: [redirected with Found] https://cffi.readthedocs.io to https://cffi.readthedocs.io/en/stable/
    extending/index.rst:37: [redirected with Found] https://packaging.python.org/guides/packaging-binary-extensions/ to https://packaging.python.org/en/latest/guides/packaging-binary-extensions/
    faq/library.rst:181: [redirected with Found] https://www.sphinx-doc.org to https://www.sphinx-doc.org/en/master/
    faq/library.rst:553: [redirected with Found] https://groups.google.com/groups?selm=34A04430.CF9@ohioee.com to https://groups.google.com/g/comp.lang.python/c/LJPQHowhlsQ/m/OsoXBiShALIJ
    faq/programming.rst:100: [redirected with Found] https://pyinstaller.org/ to https://pyinstaller.org/en/stable/
    howto/argparse.rst:820: [redirected with Found] https://babel.pocoo.org/ to https://babel.pocoo.org/en/latest/
    howto/functional.rst:1240: [redirected with Found] https://developer.ibm.com/articles/l-prog/ to https://developer.ibm.com/technologies/linux/articles/
    howto/functional.rst:1240: [redirected with Found] https://developer.ibm.com/tutorials/l-prog2/ to https://developer.ibm.com/technologies/linux/tutorials/
    howto/functional.rst:1240: [redirected with Found] https://developer.ibm.com/tutorials/l-prog3/ to https://developer.ibm.com/technologies/linux/tutorials/
    howto/isolating-extensions.rst:205: [redirected with Found] https://github.com/python/cpython/blob/master/Modules/xxlimited.c to https://github.com/python/cpython/blob/main/Modules/xxlimited.c
    howto/logging-cookbook.rst:2100: [redirected with Found] https://docs.djangoproject.com/en/stable/topics/logging/#configuring-logging to https://docs.djangoproject.com/en/5.1/topics/logging/
    howto/mro.rst:667: [redirected with Found] https://doi.org/10.1145/236337.236343 to https://dl.acm.org/doi/10.1145/236337.236343
    howto/pyporting.rst:31: [redirected with Found] https://portingguide.readthedocs.io to https://portingguide.readthedocs.io/en/latest/
    howto/unicode.rst:42: [redirected with Found] https://www.unicode.org/versions/latest/#Summary to https://www.unicode.org/versions/Unicode15.1.0/
    installing/index.rst:109: [redirected with Found] https://packaging.python.org to https://packaging.python.org/en/latest/
    installing/index.rst:118: [redirected with Found] https://packaging.python.org/installing/ to https://packaging.python.org/en/latest/tutorials/installing-packages/
    installing/index.rst:136: [redirected with Found] https://packaging.python.org/installing/#requirements-for-installing-packages to https://packaging.python.org/en/latest/tutorials/installing-packages/
    installing/index.rst:152: [redirected with Found] https://packaging.python.org/science/ to https://packaging.python.org/en/latest/guides/installing-scientific-packages/
    installing/index.rst:241: [redirected with Found] https://packaging.python.org/extensions/ to https://packaging.python.org/en/latest/guides/packaging-binary-extensions/
    installing/index.rst:52: [redirected with Found] https://www.pypa.io/ to https://www.pypa.io/en/latest/
    installing/index.rst:71: [redirected with Found] https://packaging.python.org/installing/#creating-virtual-environments to https://packaging.python.org/en/latest/tutorials/installing-packages/
    library/__main__.rst:167: [redirected with Found] https://pip.pypa.io/ to https://pip.pypa.io/en/stable/
    library/ast.rst:2540: [redirected with Found] https://greentreesnakes.readthedocs.io/ to https://greentreesnakes.readthedocs.io/en/latest/
    library/ast.rst:2553: [redirected with Found] https://libcst.readthedocs.io/ to https://libcst.readthedocs.io/en/latest/
    library/ast.rst:2558: [redirected with Found] https://parso.readthedocs.io to https://parso.readthedocs.io/en/latest/
    library/importlib.metadata.rst:16: [redirected with Found] https://setuptools.readthedocs.io/en/latest/pkg_resources.html#entry-points to https://setuptools.pypa.io/en/latest/pkg_resources.html
    library/importlib.metadata.rst:16: [redirected with Found] https://setuptools.readthedocs.io/en/latest/pkg_resources.html#metadata-api to https://setuptools.pypa.io/en/latest/pkg_resources.html
    library/importlib.metadata.rst:55: [redirected with Found] https://importlib-metadata.readthedocs.io/ to https://importlib-metadata.readthedocs.io/en/latest/
    library/importlib.resources.rst:35: [redirected with Found] https://setuptools.readthedocs.io/en/latest/pkg_resources.html to https://setuptools.pypa.io/en/latest/pkg_resources.html
    library/importlib.resources.rst:35: [redirected with Found] https://setuptools.readthedocs.io/en/latest/pkg_resources.html#basic-resource-access to https://setuptools.pypa.io/en/latest/pkg_resources.html
    library/intro.rst:89: [redirected with Found] https://pyodide.org/ to https://pyodide.org/en/stable/
    library/os.path.rst:320: [redirected with Found] https://learn.microsoft.com/windows/dev-drive/ to https://learn.microsoft.com/en-us/windows/dev-drive/
    library/platform.rst:295: [redirected with Found] https://www.freedesktop.org/software/systemd/man/os-release.html to https://www.freedesktop.org/software/systemd/man/latest/os-release.html
    library/tkinter.rst:45: [redirected with Found] https://www.tkdocs.com/shipman/ to https://tkdocs.com/shipman/
    library/tkinter.rst:93: [redirected with Found] https://wiki.tcl-lang.org/37432 to https://wiki.tcl-lang.org/page/Tcl+Package+User+Guide
    library/tkinter.ttk.rst:27: [redirected with Found] https://core.tcl.tk/tips/doc/trunk/tip/48.md to https://core.tcl-lang.org/tips/doc/trunk/tip/48.md
    library/trace.rst:18: [redirected with Found] https://coverage.readthedocs.io/ to https://coverage.readthedocs.io/en/7.6.1/
    library/unittest.mock-examples.rst:1345: [redirected with Found] https://pyhamcrest.readthedocs.io/ to https://pyhamcrest.readthedocs.io/en/latest/
    library/unittest.rst:59: [redirected with Found] https://docs.pytest.org/ to https://docs.pytest.org/en/stable/
    library/urllib.request.rst:21: [redirected with Found] https://requests.readthedocs.io/en/master/ to https://requests.readthedocs.io/en/latest/
    library/venv.rst:56: [redirected with Found] https://packaging.python.org/guides/installing-using-pip-and-virtual-environments/#create-and-use-virtual-environments to https://packaging.python.org/en/latest/guides/installing-using-pip-and-virtual-environments/
    library/wsgiref.rst:32: [redirected with Found] https://wsgi.readthedocs.io/ to https://wsgi.readthedocs.io/en/latest/
    library/xmlrpc.client.rst:171: [redirected with Found] http://xmlrpc.scripting.com/spec.html to http://xmlrpc.com/spec.md
    license.rst:13: [redirected with Found] https://www.cwi.nl/ to https://www.cwi.nl/en/
    license.rst:189: [redirected with Found] http://hdl.handle.net/1895.22/1013 to http://www.handle.net/python_licenses/python1.6.1-2-23-01.html
    license.rst:305: [redirected with Found] http://www.math.sci.hiroshima-u.ac.jp/~m-mat/MT/MT2002/emt19937ar.html to http://www.math.sci.hiroshima-u.ac.jp/m-mat/MT/MT2002/emt19937ar.html
    tutorial/whatnow.rst:36: [redirected with Found] https://docs.python.org to https://docs.python.org/3/
    using/mac.rst:166: [redirected with Found] https://toga.readthedocs.io to https://toga.readthedocs.io/en/stable/
    using/mac.rst:183: [redirected with Found] https://briefcase.readthedocs.io to https://briefcase.readthedocs.io/en/stable/
    using/windows.rst:1348: [redirected with Found] https://pythonce.sourceforge.net/ to https://sourceforge.net/projects/pythonce/
    whatsnew/2.2.rst:959: [redirected with Found] http://xmlrpc.scripting.com/ to http://xmlrpc.com/
    whatsnew/2.5.rst:333: [redirected with Found] https://pylib.readthedocs.io/ to https://pylib.readthedocs.io/en/latest/
    whatsnew/2.7.rst:1836: [redirected with Found] https://nose.readthedocs.io/ to https://nose.readthedocs.io/en/latest/
    whatsnew/2.7.rst:1836: [redirected with Found] https://pytest.org to https://docs.pytest.org/en/stable/
    whatsnew/3.13.rst:1342: [redirected with Found] https://www.pygame.org/ to https://www.pygame.org/news
    whatsnew/3.2.rst:2522: [redirected with Found] https://www.mercurial-scm.org/wiki/QuickStart to https://wiki.mercurial-scm.org/QuickStart
    whatsnew/3.5.rst:1255: [redirected with Found] https://www.openexr.com to https://openexr.com/en/latest/
    whatsnew/3.5.rst:2215: [redirected with Found] https://visualstudio.microsoft.com/en/vs/older-downloads/#visual-studio-2015-and-other-products to https://visualstudio.microsoft.com/vs/older-downloads/
    whatsnew/3.7.rst:116: [redirected with Found] https://docs.python.org/fr/ to https://docs.python.org/fr/3/
    whatsnew/3.7.rst:116: [redirected with Found] https://docs.python.org/ja/ to https://docs.python.org/ja/3/
    whatsnew/3.7.rst:116: [redirected with Found] https://docs.python.org/ko/ to https://docs.python.org/ko/3/
    whatsnew/3.9.rst:934: [redirected with Found] https://parso.readthedocs.io/ to https://parso.readthedocs.io/en/latest/
    whatsnew/changelog.rst:13310: [redirected with Found] https://www.python.org/dev/peps/pep-0007/#documentation-strings to https://peps.python.org/pep-0007/
    whatsnew/changelog.rst:27700: [redirected with Found] https://docs.python.org/zh-cn/ to https://docs.python.org/zh-cn/3/
    whatsnew/changelog.rst:9924: [redirected with Found] https://sphinxext-opengraph.readthedocs.io/ to https://sphinxext-opengraph.readthedocs.io/en/latest/
    
    status "timeout"
    library/unittest.rst:67: [timeout] http://lists.idyll.org/listinfo/testing-in-python: HTTPConnectionPool(host='lists.idyll.org', port=80): Max retries exceeded with url: /listinfo/testing-in-python (Caused by ConnectTimeoutError(, 'Connection to lists.idyll.org timed out. (connect timeout=30)'))
    howto/mro.rst:13: [timeout] https://www.phyast.pitt.edu/~micheles/: HTTPSConnectionPool(host='www.phyast.pitt.edu', port=443): Max retries exceeded with url: /~micheles/ (Caused by ConnectTimeoutError(, 'Connection to www.phyast.pitt.edu timed out. (connect timeout=30)'))
    
  24. added a commit that references this issue on Aug 14, 2024
  25. hugovk commented on Aug 16, 2024

    @hugovk
    Member
    1. Can we add them to linkcheck_allowed_redirects?

    linkcheck_allowed_redirects = {

    1. Let's ask @AA-Turner. I wonder if we could somehow use linkcheck_allowed_redirects? It allows regular expressions.
  26. added a commit that references this issue on Aug 22, 2024
  27. added 2 commits that reference this issue on Sep 16, 2024
  28. added a commit that references this issue on Sep 16, 2024
  29. added a commit that references this issue on Sep 17, 2024
  30. added 2 commits that reference this issue on Sep 17, 2024
  31. added a commit that references this issue on Sep 17, 2024
  32. added a commit that references this issue on Sep 17, 2024
  33. added 2 commits that reference this issue on Sep 17, 2024
  34. vstinner commented on Sep 17, 2024

    @vstinner
    Member

    Fixed by ab80c6b. Backports will follow.

  35. added a commit that references this issue on Sep 17, 2024
  36. rffontenelle commented on Sep 17, 2024

    @rffontenelle
    ContributorAuthor

    @vstinner I was hoping to include at least another PR for "redirect with found" reported by linkcheck, (see above comment #103484 (comment)), and then we can close this. Can you please keep this open for now?

  37. added 2 commits that reference this issue on Sep 22, 2024
  38. added 3 commits that reference this issue on Sep 23, 2024
  39. added a commit that references this issue on Oct 30, 2024
  40. added
    type-bugAn unexpected behavior, bug, or error
    and removed
    3.11only security fixes
    3.12only security fixes
    on Dec 26, 2024
  41. StanFromIreland commented on Oct 12, 2025

    @StanFromIreland
    Member

    I ran make linkcheck on main (which took a while!), the full log: anseo!

    Broken cases, ignoring 403's and false positives they are all fixed by #140012:

    $ grep "broken" log
    (whatsnew/changelog: line 35393) broken    http://www.example.com - HTTPConnectionPool(host='www.example.com', port=80): Max retries exceeded with url: / (Caused by NameResolutionError("<urllib3.connection.HTTPConnection object at 0x7f39a855c060>: Failed to resolve 'www.example.com' ([Errno -2] Name or service not known)"))
    (library/collections: line  444) broken    http://www.java2s.com/Tutorial/Cpp/0380__set-multiset/Catalog0380__set-multiset.htm - HTTPConnectionPool(host='www.java2s.com', port=80): Max retries exceeded with url: /Tutorial/Cpp/0380__set-multiset/Catalog0380__set-multiset.htm (Caused by NameResolutionError("<urllib3.connection.HTTPConnection object at 0x7f39a855d5a0>: Failed to resolve 'www.java2s.com' ([Errno -2] Name or service not known)"))
    (    whatsnew/3.8: line 2231) broken    https://ark.intel.com/content/www/us/en/ark/products/76088/intel-core-i7-4960hq-processor-6m-cache-up-to-3-80-ghz.html - 403 Client Error: Forbidden for url: https://corpredirect.intel.com/Redirector/404Redirector.aspx?404;https://ark.intel.com/content/www/us/en/ark/products/76088/intel-core-i7-4960hq-processor-6m-cache-up-to-3-80-ghz.html
    ( library/secrets: line  131) broken    https://codahale.com/a-lesson-in-timing-attacks/ - HTTPSConnectionPool(host='codahale.com', port=443): Max retries exceeded with url: /a-lesson-in-timing-attacks/ (Caused by NameResolutionError("<urllib3.connection.HTTPSConnection object at 0x7f39a4949240>: Failed to resolve 'codahale.com' ([Errno -5] No address associated with hostname)"))
    (    whatsnew/2.3: line 1080) broken    https://citeseerx.ist.psu.edu/viewdoc/summary?doi=10.1.1.19.3910 - HTTPSConnectionPool(host='citeseerx.ist.psu.edu', port=443): Max retries exceeded with url: /viewdoc/summary?doi=10.1.1.19.3910 (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1108)')))
    (   whatsnew/3.10: line 1565) broken    https://developers.redhat.com/blog/2020/06/25/red-hat-enterprise-linux-8-2-brings-faster-python-3-8-run-speeds/ - 403 Client Error: Forbidden for url: https://developers.redhat.com/blog/2020/06/25/red-hat-enterprise-linux-8-2-brings-faster-python-3-8-run-speeds/
    (       howto/mro: line  667) broken    https://doi.org/10.1145/236337.236343 - 403 Client Error: Forbidden for url: https://dl.acm.org/doi/10.1145/236337.236343
    (     faq/library: line  181) broken    https://epydoc.sourceforge.net/ - 403 Client Error: Forbidden for url: https://epydoc.sourceforge.net/
    (    whatsnew/2.3: line 1867) broken    https://hg.python.org/cpython/file/default/Objects/obmalloc.c - 404 Client Error: Not Found for url: https://hg.python.org/cpython/file/default/Objects/obmalloc.c
    (    whatsnew/2.3: line 1334) broken    https://idlefork.sourceforge.net - 403 Client Error: Forbidden for url: https://idlefork.sourceforge.net/
    ( library/zipfile: line  161) broken    https://infozip.sourceforge.net/ - 403 Client Error: Forbidden for url: https://infozip.sourceforge.net/
    (     faq/library: line  553) broken    https://groups.google.com/groups?selm=34A04430.CF9@ohioee.com - 500 Server Error: Internal Server Error for url: https://groups.google.com/groups?selm=34A04430.CF9@ohioee.com
    (   library/intro: line  141) broken    https://issuetracker.google.com/issues/128554619#comment4 - Anchor 'comment4' not found
    (    howto/curses: line  543) broken    https://linux.die.net/man/3/ncurses - 403 Client Error: Forbidden for url: https://linux.die.net/man/3/ncurses
    ( using/configure: line   50) broken    https://linux.die.net/man/3/libuuid - 403 Client Error: Forbidden for url: https://linux.die.net/man/3/libuuid
    (  library/select: line  286) broken    https://linux.die.net/man/4/epoll - 403 Client Error: Forbidden for url: https://linux.die.net/man/4/epoll
    (whatsnew/changelog: line  285) broken    https://manpages.debian.org/fg - 404 Client Error: Not Found for url: https://dyn.manpages.debian.org/fg
    (    whatsnew/2.3: line 1233) broken    https://pybsddb.sourceforge.net - 403 Client Error: Forbidden for url: https://pybsddb.sourceforge.net/
    (    whatsnew/2.0: line  571) broken    https://pythonce.sourceforge.net/ - 403 Client Error: Forbidden for url: https://pythonce.sourceforge.net/
    ( library/tkinter: line  999) broken    https://python-pillow.org/ - HTTPSConnectionPool(host='python-pillow.org', port=443): Max retries exceeded with url: / (Caused by SSLError(SSLError(1, '[SSL: SSLV3_ALERT_HANDSHAKE_FAILURE] ssl/tls alert handshake failure (_ssl.c:1108)')))
    (    whatsnew/2.1: line  612) broken    https://pyunit.sourceforge.net/ - 403 Client Error: Forbidden for url: https://pyunit.sourceforge.net/
    (    whatsnew/2.0: line  936) broken    https://pyxml.sourceforge.net/topics/howto/xml-howto.html - 403 Client Error: Forbidden for url: https://pyxml.sourceforge.net/topics/howto/xml-howto.html
    ( library/mailbox: line  760) broken    https://rand-mh.sourceforge.io/book/ - 404 Client Error: Not Found for url: https://rand-mh.sourceforge.io/book/
    (whatsnew/changelog: line 40958) broken    https://sourceforge.net/p/expat/bugs/537/ - 403 Client Error: Forbidden for url: https://sourceforge.net/p/expat/bugs/537/
    (    whatsnew/2.0: line   59) broken    https://sourceforge.net/projects/python/ - 403 Client Error: Forbidden for url: https://sourceforge.net/projects/python/
    (    whatsnew/2.6: line  191) broken    https://svn.python.org/view/tracker/importer/ - unauthorized
    (    whatsnew/2.6: line 2372) broken    https://tipc.sourceforge.net/ - 403 Client Error: Forbidden for url: https://tipc.sourceforge.net/
    (library/tkinter.ttk: line   59) broken    https://tktable.sourceforge.net/tile/doc/converting.txt - 403 Client Error: Forbidden for url: https://tktable.sourceforge.net/tile/doc/converting.txt
    (library/tkinter.ttk: line 1275) broken    https://tktable.sourceforge.net/tile/tile-tcl2004.pdf - 403 Client Error: Forbidden for url: https://tktable.sourceforge.net/tile/tile-tcl2004.pdf
    (    whatsnew/3.5: line 2215) broken    https://visualstudio.microsoft.com/en/vs/older-downloads/#visual-studio-2015-and-other-products - Anchor 'visual-studio-2015-and-other-products' not found
    (   c-api/complex: line  131) broken    number - 
    (       using/ios: line  269) broken    https://github.com/python/cpython/tree/main/Apple/iOS/testbed - 404 Client Error: Not Found for url: https://github.com/python/cpython/tree/main/Apple/iOS/testbed
    ( library/profile: line    7) broken    https://github.com/python/cpython/tree/main/Lib/profile/sample.py - 404 Client Error: Not Found for url: https://github.com/python/cpython/tree/main/Lib/profile/sample.py
    (  library/string: line    7) broken    https://github.com/python/cpython/tree/main/Lib/string.py - 404 Client Error: Not Found for url: https://github.com/python/cpython/tree/main/Lib/string.py
    ( using/configure: line 1092) broken    https://github.com/python/cpython/tree/main/iOS/README.rst - 404 Client Error: Not Found for url: https://github.com/python/cpython/tree/main/iOS/README.rst
    
    warnings
    (         license: line  192) Doc/license.rst:192: WARNING: redirect  http://hdl.handle.net/1895.22/1013 - permanently to https://www.handle.net/python_licenses/python1.6.1-2-23-01.html
    (    whatsnew/2.4: line  759) Doc/whatsnew/2.4.rst:759: WARNING: redirect  http://web.archive.org/web/20210306104320/https://developer.gnome.org/glib/2.26/ - with Found to http://web.archive.org/web/20210306060400/https://developer.gnome.org/glib/2.26/
    (howto/logging-cookbook: line  787) Doc/howto/logging-cookbook.rst:787: WARNING: redirect  http://supervisord.org/ - permanently to https://supervisord.org/
    (    whatsnew/2.2: line  960) Doc/whatsnew/2.2.rst:960: WARNING: redirect  http://xmlrpc.scripting.com/ - with Found to http://xmlrpc.com/
    (library/xmlrpc.client: line  171) Doc/library/xmlrpc.client.rst:171: WARNING: redirect  http://xmlrpc.scripting.com/spec.html - with Found to http://xmlrpc.com/spec.md
    (         license: line  308) Doc/license.rst:308: WARNING: redirect  http://www.math.sci.hiroshima-u.ac.jp/~m-mat/MT/MT2002/emt19937ar.html - with Found to https://www.math.sci.hiroshima-u.ac.jp/m-mat/MT/MT2002/emt19937ar.html
    (   using/windows: line   26) Doc/using/windows.rst:26: WARNING: redirect  https://apps.microsoft.com/detail/9NQ7512CXL7T - with Found to https://apps.microsoft.com/detail/9nq7512cxl7t?hl=en-US&gl=IE
    (  howto/argparse: line  825) Doc/howto/argparse.rst:825: WARNING: redirect  https://babel.pocoo.org/ - with Found to https://babel.pocoo.org/en/latest/
    (   using/android: line   33) Doc/using/android.rst:33: WARNING: redirect  https://briefcase.readthedocs.io - with Found to https://briefcase.readthedocs.io/en/stable/
    (   using/android: line   34) Doc/using/android.rst:34: WARNING: redirect  https://buildozer.readthedocs.io - with Found to https://buildozer.readthedocs.io/en/latest/
    (     c-api/intro: line  830) Doc/c-api/intro.rst:830: WARNING: redirect  https://cffi.readthedocs.io - with Found to https://cffi.readthedocs.io/en/stable/
    (extending/extending: line   25) Doc/extending/extending.rst:25: WARNING: redirect  https://cffi.readthedocs.io/ - with Found to https://cffi.readthedocs.io/en/stable/
    (   library/trace: line   18) Doc/library/trace.rst:18: WARNING: redirect  https://coverage.readthedocs.io/ - with Found to https://coverage.readthedocs.io/en/7.10.7/
    (library/tkinter.ttk: line   27) Doc/library/tkinter.ttk.rst:27: WARNING: redirect  https://core.tcl.tk/tips/doc/trunk/tip/48.md - with Found to https://core.tcl-lang.org/tips/doc/trunk/tip/48.md
    (howto/functional: line 1240) Doc/howto/functional.rst:1240: WARNING: redirect  https://developer.ibm.com/articles/l-prog/ - with Found to https://developer.ibm.com/technologies/linux/articles/
    (howto/functional: line 1240) Doc/howto/functional.rst:1240: WARNING: redirect  https://developer.ibm.com/tutorials/l-prog2/ - with Found to https://developer.ibm.com/technologies/linux/tutorials/
    (howto/functional: line 1240) Doc/howto/functional.rst:1240: WARNING: redirect  https://developer.ibm.com/tutorials/l-prog3/ - with Found to https://developer.ibm.com/technologies/linux/tutorials/
    (howto/logging-cookbook: line 2123) Doc/howto/logging-cookbook.rst:2123: WARNING: redirect  https://docs.djangoproject.com/en/stable/topics/logging/#configuring-logging - with Found to https://docs.djangoproject.com/en/5.2/topics/logging/
    (tutorial/whatnow: line   36) Doc/tutorial/whatnow.rst:36: WARNING: redirect  https://docs.python.org - with Found to https://docs.python.org/3/
    (library/unittest: line   58) Doc/library/unittest.rst:58: WARNING: redirect  https://docs.pytest.org/ - with Found to https://docs.pytest.org/en/stable/
    (    whatsnew/3.7: line  116) Doc/whatsnew/3.7.rst:116: WARNING: redirect  https://docs.python.org/fr/ - with Found to https://docs.python.org/fr/3/
    (    whatsnew/3.7: line  116) Doc/whatsnew/3.7.rst:116: WARNING: redirect  https://docs.python.org/ko/ - with Found to https://docs.python.org/ko/3/
    (    whatsnew/3.7: line  116) Doc/whatsnew/3.7.rst:116: WARNING: redirect  https://docs.python.org/ja/ - with Found to https://docs.python.org/ja/3/
    (whatsnew/changelog: line 34665) Doc/whatsnew/changelog.rst:34665: WARNING: redirect  https://docs.python.org/zh-cn/ - with Found to https://docs.python.org/zh-cn/3/
    ( using/configure: line   12) Doc/using/configure.rst:12: WARNING: redirect  https://en.cppreference.com/w/c/11 - permanently to https://en.cppreference.com/w/c/11.html
    (howto/free-threading-extensions: line  250) Doc/howto/free-threading-extensions.rst:250: WARNING: redirect  https://en.cppreference.com/w/c/language/storage_duration - permanently to https://en.cppreference.com/w/c/language/storage_duration.html
    (     library/ast: line 2632) Doc/library/ast.rst:2632: WARNING: redirect  https://greentreesnakes.readthedocs.io/ - with Found to https://greentreesnakes.readthedocs.io/en/latest/
    (library/importlib.metadata: line   55) Doc/library/importlib.metadata.rst:55: WARNING: redirect  https://importlib-metadata.readthedocs.io/ - with Found to https://importlib-metadata.readthedocs.io/en/latest/
    (   using/windows: line 1237) Doc/using/windows.rst:1237: WARNING: redirect  https://learn.microsoft.com/cpp/mfc/mfc-desktop-applications - with Found to https://learn.microsoft.com/en-us/cpp/mfc/mfc-desktop-applications
    (   using/windows: line  599) Doc/using/windows.rst:599: WARNING: redirect  https://learn.microsoft.com/powershell/module/appx/remove-appxpackage - with Found to https://learn.microsoft.com/en-us/powershell/module/appx/remove-appxpackage
    (   using/windows: line  599) Doc/using/windows.rst:599: WARNING: redirect  https://learn.microsoft.com/powershell/module/appx/add-appxpackage - with Found to https://learn.microsoft.com/en-us/powershell/module/appx/add-appxpackage
    (   using/windows: line  617) Doc/using/windows.rst:617: WARNING: redirect  https://learn.microsoft.com/powershell/module/dism/add-appxprovisionedpackage - with Found to https://learn.microsoft.com/en-us/powershell/module/dism/add-appxprovisionedpackage
    (   using/windows: line  617) Doc/using/windows.rst:617: WARNING: redirect  https://learn.microsoft.com/uwp/api/windows.management.deployment.packagemanager - with Found to https://learn.microsoft.com/en-us/uwp/api/windows.management.deployment.packagemanager
    (    library/time: line  407) Doc/library/time.rst:407: WARNING: redirect  https://learn.microsoft.com/windows-hardware/drivers/kernel/high-resolution-timers - with Found to https://learn.microsoft.com/en-us/windows-hardware/drivers/kernel/high-resolution-timers
    (   using/windows: line 1231) Doc/using/windows.rst:1231: WARNING: redirect  https://learn.microsoft.com/windows/win32/com/component-object-model--com--portal - with Found to https://learn.microsoft.com/en-us/windows/win32/com/component-object-model--com--portal
    ( library/os.path: line  321) Doc/library/os.path.rst:321: WARNING: redirect  https://learn.microsoft.com/windows/dev-drive/ - with Found to https://learn.microsoft.com/en-us/windows/dev-drive/
    (library/asyncio-eventloop: line 1891) Doc/library/asyncio-eventloop.rst:1891: WARNING: redirect  https://learn.microsoft.com/windows/win32/fileio/i-o-completion-ports - with Found to https://learn.microsoft.com/en-us/windows/win32/fileio/i-o-completion-ports
    (     faq/general: line  210) Doc/faq/general.rst:210: WARNING: redirect  https://mail.python.org/mailman/listinfo/python-list - permanently to https://mail.python.org/mailman3/lists/python-list.python.org/
    (     library/ast: line 2645) Doc/library/ast.rst:2645: WARNING: redirect  https://libcst.readthedocs.io/ - with Found to https://libcst.readthedocs.io/en/latest/
    (whatsnew/changelog: line  739) Doc/whatsnew/changelog.rst:739: WARNING: redirect  https://manpages.debian.org/ERR_func_error_string - temporarily to https://manpages.debian.org/trixie/libssl-doc/ERR_func_error_string.3ssl.en.html
    (whatsnew/changelog: line  739) Doc/whatsnew/changelog.rst:739: WARNING: redirect  https://manpages.debian.org/EVP_MD_CTX_md - temporarily to https://manpages.debian.org/trixie/libssl-doc/EVP_MD_CTX_md.3ssl.en.html
    (whatsnew/changelog: line  285) Doc/whatsnew/changelog.rst:285: WARNING: redirect  https://manpages.debian.org/kill - temporarily to https://manpages.debian.org/trixie/procps/kill.1.en.html
    (    whatsnew/2.7: line 1836) Doc/whatsnew/2.7.rst:1836: WARNING: redirect  https://nose.readthedocs.io/ - with Found to https://nose.readthedocs.io/en/latest/
    (installing/index: line  109) Doc/installing/index.rst:109: WARNING: redirect  https://packaging.python.org - with Found to https://packaging.python.org/en/latest/
    (distributing/index: line   14) Doc/distributing/index.rst:14: WARNING: redirect  https://packaging.python.org/ - with Found to https://packaging.python.org/en/latest/
    (    library/venv: line   59) Doc/library/venv.rst:59: WARNING: redirect  https://packaging.python.org/guides/installing-using-pip-and-virtual-environments/#create-and-use-virtual-environments - with Found to https://packaging.python.org/en/latest/guides/installing-using-pip-and-virtual-environments/
    (     c-api/intro: line  852) Doc/c-api/intro.rst:852: WARNING: redirect  https://packaging.python.org/guides/packaging-binary-extensions/ - with Found to https://packaging.python.org/en/latest/guides/packaging-binary-extensions/
    (installing/index: line  241) Doc/installing/index.rst:241: WARNING: redirect  https://packaging.python.org/extensions/ - with Found to https://packaging.python.org/en/latest/guides/packaging-binary-extensions/
    (installing/index: line  118) Doc/installing/index.rst:118: WARNING: redirect  https://packaging.python.org/installing/ - with Found to https://packaging.python.org/en/latest/tutorials/installing-packages/
    (installing/index: line  136) Doc/installing/index.rst:136: WARNING: redirect  https://packaging.python.org/installing/#requirements-for-installing-packages - with Found to https://packaging.python.org/en/latest/tutorials/installing-packages/
    (installing/index: line   71) Doc/installing/index.rst:71: WARNING: redirect  https://packaging.python.org/installing/#creating-virtual-environments - with Found to https://packaging.python.org/en/latest/tutorials/installing-packages/
    (     library/ast: line 2650) Doc/library/ast.rst:2650: WARNING: redirect  https://parso.readthedocs.io - with Found to https://parso.readthedocs.io/en/latest/
    (    whatsnew/3.9: line  935) Doc/whatsnew/3.9.rst:935: WARNING: redirect  https://parso.readthedocs.io/ - with Found to https://parso.readthedocs.io/en/latest/
    (installing/index: line  152) Doc/installing/index.rst:152: WARNING: redirect  https://packaging.python.org/science/ - with Found to https://packaging.python.org/en/latest/guides/installing-scientific-packages/
    (library/__main__: line  167) Doc/library/__main__.rst:167: WARNING: redirect  https://pip.pypa.io/ - with Found to https://pip.pypa.io/en/stable/
    ( howto/pyporting: line   31) Doc/howto/pyporting.rst:31: WARNING: redirect  https://portingguide.readthedocs.io - with Found to https://portingguide.readthedocs.io/en/latest/
    (howto/perf_profiling: line   11) Doc/howto/perf_profiling.rst:11: WARNING: redirect  https://perf.wiki.kernel.org - permanently to https://perfwiki.github.io/
    (  c-api/perfmaps: line    8) Doc/c-api/perfmaps.rst:8: WARNING: redirect  https://perf.wiki.kernel.org/index.php/Main_Page - permanently to https://perfwiki.github.io/
    ( faq/programming: line  100) Doc/faq/programming.rst:100: WARNING: redirect  https://pyinstaller.org/ - with Found to https://pyinstaller.org/en/stable/
    (     c-api/intro: line  834) Doc/c-api/intro.rst:834: WARNING: redirect  https://pybind11.readthedocs.io/ - with Found to https://pybind11.readthedocs.io/en/stable/
    (library/unittest.mock-examples: line 1345) Doc/library/unittest.mock-examples.rst:1345: WARNING: redirect  https://pyhamcrest.readthedocs.io/ - with Found to https://pyhamcrest.readthedocs.io/en/latest/
    (    whatsnew/2.5: line  333) Doc/whatsnew/2.5.rst:333: WARNING: redirect  https://pylib.readthedocs.io/ - with Found to https://pylib.readthedocs.io/en/latest/
    (     c-api/intro: line  835) Doc/c-api/intro.rst:835: WARNING: redirect  https://pyo3.rs/ - with Found to https://pyo3.rs/v0.26.0/
    (   library/intro: line   89) Doc/library/intro.rst:89: WARNING: redirect  https://pyodide.org/ - with Found to https://pyodide.org/en/stable/
    (    whatsnew/2.7: line 1836) Doc/whatsnew/2.7.rst:1836: WARNING: redirect  https://pytest.org - with Found to https://docs.pytest.org/en/stable/
    (library/urllib.request: line   21) Doc/library/urllib.request.rst:21: WARNING: redirect  https://requests.readthedocs.io/en/master/ - with Found to https://requests.readthedocs.io/en/latest/
    (library/importlib.resources: line   36) Doc/library/importlib.resources.rst:36: WARNING: redirect  https://setuptools.readthedocs.io/en/latest/pkg_resources.html - with Found to https://setuptools.pypa.io/en/latest/pkg_resources.html
    (library/importlib.resources: line   36) Doc/library/importlib.resources.rst:36: WARNING: redirect  https://setuptools.readthedocs.io/en/latest/pkg_resources.html#basic-resource-access - with Found to https://setuptools.pypa.io/en/latest/pkg_resources.html
    (library/importlib.metadata: line   16) Doc/library/importlib.metadata.rst:16: WARNING: redirect  https://setuptools.readthedocs.io/en/latest/pkg_resources.html#entry-points - with Found to https://setuptools.pypa.io/en/latest/pkg_resources.html
    (library/importlib.metadata: line   16) Doc/library/importlib.metadata.rst:16: WARNING: redirect  https://setuptools.readthedocs.io/en/latest/pkg_resources.html#metadata-api - with Found to https://setuptools.pypa.io/en/latest/pkg_resources.html
    (whatsnew/changelog: line 16895) Doc/whatsnew/changelog.rst:16895: WARNING: redirect  https://sphinxext-opengraph.readthedocs.io/ - with Found to https://sphinxext-opengraph.readthedocs.io/en/latest/
    (    library/math: line  830) Doc/library/math.rst:830: WARNING: redirect  https://tauday.com/ - permanently to https://www.tauday.com/
    (       using/mac: line  110) Doc/using/mac.rst:110: WARNING: redirect  https://support.apple.com/en-us/HT201732 - permanently to https://support.apple.com/guide/mac-help/organize-your-files-in-the-finder-mchlp2605/mac
    (       using/mac: line  240) Doc/using/mac.rst:240: WARNING: redirect  https://toga.readthedocs.io - with Found to https://toga.readthedocs.io/en/stable/
    ( library/tkinter: line   93) Doc/library/tkinter.rst:93: WARNING: redirect  https://wiki.tcl-lang.org/37432 - with Found to https://wiki.tcl-lang.org/page/Tcl+Package+User+Guide
    ( library/wsgiref: line   32) Doc/library/wsgiref.rst:32: WARNING: redirect  https://wsgi.readthedocs.io/ - with Found to https://wsgi.readthedocs.io/en/latest/
    ( faq/programming: line   51) Doc/faq/programming.rst:51: WARNING: redirect  https://www.activestate.com/products/komodo-ide/ - permanently to https://docs.activestate.com/komodo/12/
    ( faq/programming: line   32) Doc/faq/programming.rst:32: WARNING: redirect  https://www.activestate.com/products/python/ - permanently to https://www.activestate.com/platform/supported-languages/python/
    (         license: line   13) Doc/license.rst:13: WARNING: redirect  https://www.cwi.nl - with Found to https://www.cwi.nl/en/
    (library/platform: line  287) Doc/library/platform.rst:287: WARNING: redirect  https://www.freedesktop.org/software/systemd/man/os-release.html - with Found to https://www.freedesktop.org/software/systemd/man/latest/os-release.html
    (    whatsnew/3.2: line 2522) Doc/whatsnew/3.2.rst:2522: WARNING: redirect  https://www.mercurial-scm.org/wiki/QuickStart - with Found to https://wiki.mercurial-scm.org/QuickStart
    (    whatsnew/3.5: line 1254) Doc/whatsnew/3.5.rst:1254: WARNING: redirect  https://www.openexr.com - with Found to https://openexr.com/en/latest/
    (installing/index: line   52) Doc/installing/index.rst:52: WARNING: redirect  https://www.pypa.io/ - with Found to https://www.pypa.io/en/latest/
    (       using/mac: line  231) Doc/using/mac.rst:231: WARNING: redirect  https://www.qt.io/qt-for-python - permanently to https://www.qt.io/development/qt-framework/python-bindings
    (     faq/library: line  181) Doc/faq/library.rst:181: WARNING: redirect  https://www.sphinx-doc.org - with Found to https://www.sphinx-doc.org/en/master/
    (           about: line    6) Doc/about.rst:6: WARNING: redirect  https://www.sphinx-doc.org/ - with Found to https://www.sphinx-doc.org/en/master/
    (         faq/gui: line   20) Doc/faq/gui.rst:20: WARNING: redirect  https://www.tcl.tk - permanently to https://www.tcl-lang.org/
    (    whatsnew/2.7: line 1811) Doc/whatsnew/2.7.rst:1811: WARNING: redirect  https://www.tcl.tk/man/tcl8.5/TkCmd/ttk_intro.html - permanently to https://www.tcl-lang.org/man/tcl8.5/TkCmd/ttk_intro.html
    ( library/tkinter: line   50) Doc/library/tkinter.rst:50: WARNING: redirect  https://www.tcl.tk/man/tcl8.6/TkCmd/contents.htm - permanently to https://www.tcl-lang.org/man/tcl8.6/TkCmd/contents.htm
    ( library/tkinter: line  475) Doc/library/tkinter.rst:475: WARNING: redirect  https://www.tcl.tk/man/tcl8.6/TkCmd/grid.htm - permanently to https://www.tcl-lang.org/man/tcl8.6/TkCmd/grid.htm
    ( library/tkinter: line  488) Doc/library/tkinter.rst:488: WARNING: redirect  https://www.tcl.tk/man/tcl8.6/TkCmd/winfo.htm - permanently to https://www.tcl-lang.org/man/tcl8.6/TkCmd/winfo.htm
    ( library/tkinter: line  483) Doc/library/tkinter.rst:483: WARNING: redirect  https://www.tcl.tk/man/tcl8.6/TkCmd/options.htm - permanently to https://www.tcl-lang.org/man/tcl8.6/TkCmd/options.htm
    ( library/tkinter: line  483) Doc/library/tkinter.rst:483: WARNING: redirect  https://www.tcl.tk/man/tcl8.6/TkCmd/ttk_widget.htm - permanently to https://www.tcl-lang.org/man/tcl8.6/TkCmd/ttk_widget.htm
    ( library/tkinter: line  475) Doc/library/tkinter.rst:475: WARNING: redirect  https://www.tcl.tk/man/tcl8.6/TkCmd/ttk_button.htm - permanently to https://www.tcl-lang.org/man/tcl8.6/TkCmd/ttk_button.htm
    ( library/tkinter: line   45) Doc/library/tkinter.rst:45: WARNING: redirect  https://www.tkdocs.com/shipman/ - with Found to https://tkdocs.com/shipman/
    (   howto/unicode: line   42) Doc/howto/unicode.rst:42: WARNING: redirect  https://www.unicode.org/versions/latest/#Summary - with Found to https://www.unicode.org/versions/Unicode17.0.0/
    (howto/isolating-extensions: line  205) Doc/howto/isolating-extensions.rst:205: WARNING: redirect  https://github.com/python/cpython/blob/master/Modules/xxlimited.c - with Found to https://github.com/python/cpython/blob/main/Modules/xxlimited.c
    ( faq/programming: line   42) Doc/faq/programming.rst:42: WARNING: redirect  https://github.com/rocky/python3-trepan/ - permanently to https://github.com/Trepan-Debuggers/python3-trepan
    
  42. added a commit that references this issue on Nov 17, 2026
  43. added a commit that references this issue on Nov 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    docsDocumentation in the Doc dirtype-bugAn unexpected behavior, bug, or error

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions