Title: gh-151945: Fix reference warnings in http.cookiejar and http.server docs by harjothkhara · Pull Request #152815 · python/cpython · GitHub
Open Graph Title: gh-151945: Fix reference warnings in http.cookiejar and http.server docs by harjothkhara · Pull Request #152815 · python/cpython
X Title: gh-151945: Fix reference warnings in http.cookiejar and http.server docs by harjothkhara · Pull Request #152815 · python/cpython
Description: Fixes the Sphinx nit-picky reference warnings for Doc/library/http.cookiejar.rst and Doc/library/http.server.rst, and removes both files from Doc/tools/.nitignore so future regressions are caught by CI. Approach: Documented targets are qualified with their owning class, e.g. Cookie.version, CookiePolicy.rfc2965/hide_cookie2, the urllib.request.Request methods and attributes, and urllib.response.addinfourl.info. References with no documented target become inline literals: the removed get_origin_req_host method, and the undocumented http.server members server_name, server_port, list_directory, guess_type and index_pages. I'm happy to document any of these instead if a reviewer prefers. Verified with a full nit-picky docs build: both files now emit zero warnings, and Doc/tools/check-warnings.py --fail-if-regression --fail-if-improved passes. Documentation-only reference fix, so no Misc/NEWS.d entry (skip news). Disclosure: I used AI assistance on this change; I've reviewed it and can explain it. Issue: gh-151945
Open Graph Description: Fixes the Sphinx nit-picky reference warnings for Doc/library/http.cookiejar.rst and Doc/library/http.server.rst, and removes both files from Doc/tools/.nitignore so future regressions are caught b...
X Description: Fixes the Sphinx nit-picky reference warnings for Doc/library/http.cookiejar.rst and Doc/library/http.server.rst, and removes both files from Doc/tools/.nitignore so future regressions are caught b...
Opengraph URL: https://github.com/python/cpython/pull/152815
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:15c66023-5d92-94f7-0f46-a3a70e876055 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | A22A:2D3361:33946A3:49D0C64:6A569F40 |
| html-safe-nonce | b83f10be702219252abf75612116f09e633b9f9dec715fb8b72b15dd5079829e |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBMjJBOjJEMzM2MTozMzk0NkEzOjQ5RDBDNjQ6NkE1NjlGNDAiLCJ2aXNpdG9yX2lkIjoiODI5MzAxMDU3Njc2MDAyMDgwMCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 51dca9434019be8e58c682c0dbb42f81cb73e87b08d5f97ca6c61f2cfc636581 |
| hovercard-subject-tag | pull_request:3972822386 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/python/cpython/pull/152815/files |
| twitter:image | https://avatars.githubusercontent.com/u/48686985?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/48686985?s=400&v=4 |
| og:image:alt | Fixes the Sphinx nit-picky reference warnings for Doc/library/http.cookiejar.rst and Doc/library/http.server.rst, and removes both files from Doc/tools/.nitignore so future regressions are caught b... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 647a25f437e2f54eccdd162bd007c8ae70f4235c4125dba0f4518747cc8b9615 |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/python/cpython git https://github.com/python/cpython.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 81598961 |
| octolytics-dimension-repository_nwo | python/cpython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 81598961 |
| octolytics-dimension-repository_network_root_nwo | python/cpython |
| turbo-body-classes | logged-out env-production page-responsive full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 05adb86a60ce3d701e556eded3ab26300ec6bcc4 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width