Skip to content

bpo-40002: Fix http.cookies.BaseCookie.load inconsistent errors#19059

Open
bharel wants to merge 13 commits intopython:mainfrom
bharel:cookIssue40002
Open

bpo-40002: Fix http.cookies.BaseCookie.load inconsistent errors#19059
bharel wants to merge 13 commits intopython:mainfrom
bharel:cookIssue40002

Conversation

@bharel
Copy link
Copy Markdown
Contributor

@bharel bharel commented Mar 18, 2020

Fixes the inconsistent error throwing.

https://bugs.python.org/issue40002

Copy link
Copy Markdown

@aviramha aviramha left a comment

Choose a reason for hiding this comment

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

I think it's worth mentioning in the documentation the behaviour change.

@bharel
Copy link
Copy Markdown
Contributor Author

bharel commented Mar 18, 2020

No need, docs already state it should throw CookieError. Just need to figure out how to clear all edge cases.

@aviramha
Copy link
Copy Markdown

No need, docs already state it should throw CookieError. Just need to figure out how to clear all edge cases.

and yet it didn't and now behavior is changed, hence I think if someone encounters this while upgrading he wont know that there's any behavior change.
I think a small note on the existing docs saying that since latest version this is really enforced in all scenarios.

Copy link
Copy Markdown

@aviramha aviramha left a comment

Choose a reason for hiding this comment

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

LGTM!

@bharel
Copy link
Copy Markdown
Contributor Author

bharel commented Mar 18, 2020

Done, ready for upload. No http experts for nosy, triage needed.

@bharel
Copy link
Copy Markdown
Contributor Author

bharel commented Aug 22, 2024

Still relevant, should I change the version indicator in the docs?

@github-actions
Copy link
Copy Markdown

github-actions bot commented Apr 7, 2026

This PR is stale because it has been open for 30 days with no activity.

@github-actions github-actions bot added the stale Stale PR or inactive for long period of time. label Apr 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

awaiting core review stale Stale PR or inactive for long period of time.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants