This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: Add missing value returned by methods on cookiejar
Type: enhancement Stage: patch review
Components: Documentation Versions: Python 3.10, Python 3.9, Python 3.8, Python 3.7
process
Status: open Resolution:
Dependencies: Superseder:
Assigned To: docs@python Nosy List: docs@python, eamanu, willingc
Priority: normal Keywords: patch

Created on 2021-02-14 20:46 by eamanu, last changed 2022-04-11 14:59 by admin.

Pull Requests
URL Status Linked Edit
PR 24522 merged eamanu, 2021-02-14 20:46
Messages (3)
msg386961 - (view) Author: Emmanuel Arias (eamanu) * Date: 2021-02-14 20:46
Documentation say that return something but don't specific what
value is returned, and that can be confuse.
msg386963 - (view) Author: Emmanuel Arias (eamanu) * Date: 2021-02-14 21:02
Sorry I left nothing of information.

On https://docs.python.org/3/library/http.cookiejar.html?highlight=http%20cookiejar#http.cookiejar.DefaultCookiePolicy.is_blocked and https://docs.python.org/3/library/http.cookiejar.html?highlight=http%20cookiejar#http.cookiejar.DefaultCookiePolicy.is_not_allowed docs mention that is_blocked and is_not_allowed methods "return whether *domain*..." but not mention what is return. So I added looking in the code, that this methods "return ``True`` whether *domain*..." IMO that is more clear.
msg406365 - (view) Author: Carol Willing (willingc) * (Python committer) Date: 2021-11-15 22:44
New changeset 3352834f59531dfa42dbef00ada4fb95ded2ae3a by Emmanuel Arias in branch 'main':
bpo-43225: [DOC] Add missing value returned by methods on cookiejar (GH-24522)
https://github.com/python/cpython/commit/3352834f59531dfa42dbef00ada4fb95ded2ae3a
History
Date User Action Args
2022-04-11 14:59:41adminsetgithub: 87391
2021-11-15 22:44:38willingcsetnosy: + willingc
messages: + msg406365
2021-02-14 21:02:05eamanusetmessages: + msg386963
2021-02-14 20:46:34eamanusetkeywords: + patch
stage: patch review
pull_requests: + pull_request23314
2021-02-14 20:46:13eamanucreate