Title: gh-151945: Fix reference warnings in http.cookiejar docs by harjothkhara · Pull Request #152816 · python/cpython · GitHub
Open Graph Title: gh-151945: Fix reference warnings in http.cookiejar docs by harjothkhara · Pull Request #152816 · python/cpython
X Title: gh-151945: Fix reference warnings in http.cookiejar docs by harjothkhara · Pull Request #152816 · python/cpython
Description: Per @picnixz's suggestion in gh-151945, this covers the http.cookiejar half of the issue; @picnixz is taking http.server. Fixes the Sphinx nit-picky reference warnings for Doc/library/http.cookiejar.rst and removes the file from Doc/tools/.nitignore so future regressions are caught by CI. 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. The removed get_origin_req_host method, which has no documented target, becomes an inline literal. Verified with a full nit-picky build: the file emits no warnings and Doc/tools/check-warnings.py --fail-if-regression --fail-if-improved passes. Documentation-only reference fix, so no NEWS 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: Per @picnixz's suggestion in gh-151945, this covers the http.cookiejar half of the issue; @picnixz is taking http.server. Fixes the Sphinx nit-picky reference warnings for Doc/library/http.cook...
X Description: Per @picnixz's suggestion in gh-151945, this covers the http.cookiejar half of the issue; @picnixz is taking http.server. Fixes the Sphinx nit-picky reference warnings for Doc/library/http....
Opengraph URL: https://github.com/python/cpython/pull/152816
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:930b8424-46b0-163d-5bdb-d8e1e7d9ab2f |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | A87A:3A6F92:05E0:0798:6A551470 |
| html-safe-nonce | 9d10a29655c4b61e3a177c3e021adaa1d80c2c8df5cfb7cbb7f5f3fbd9aa8c81 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBODdBOjNBNkY5MjowNUUwOjA3OTg6NkE1NTE0NzAiLCJ2aXNpdG9yX2lkIjoiNTUwMDEwNjM0MDQ2NTcxMDE5MiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 6162cfd541664ea44f079e4c98cb9af1002252e70e6ba06d01dcbdc9116e5ad1 |
| hovercard-subject-tag | pull_request:3972936867 |
| 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/152816/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 | Per @picnixz's suggestion in gh-151945, this covers the http.cookiejar half of the issue; @picnixz is taking http.server. Fixes the Sphinx nit-picky reference warnings for Doc/library/http.cook... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 682d273eacb2ac51680c6eb9c0b270f029f7ce74c32090f319083c34497e28a5 |
| 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 | 3b6d37c6470adadff4194742daaab9a817cc4980 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width