Skip to content

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

Open
bharel wants to merge 13 commits into
python:mainfrom
bharel:cookIssue40002
Open

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

Conversation

@bharel

@bharel bharel commented Mar 18, 2020

Copy link
Copy Markdown
Contributor

Fixes the inconsistent error throwing.

https://bugs.python.org/issue40002

@aviramha aviramha left a comment

Copy link
Copy Markdown

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

bharel commented Mar 18, 2020

Copy link
Copy Markdown
Contributor Author

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.

@aviramha aviramha left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

LGTM!

@bharel

bharel commented Mar 18, 2020

Copy link
Copy Markdown
Contributor Author

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

@bharel

bharel commented Aug 22, 2024

Copy link
Copy Markdown
Contributor Author

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

@github-actions

github-actions Bot commented Apr 7, 2026

Copy link
Copy Markdown

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