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.

Author demian.brecht
Recipients BreamoreBoy, berker.peksag, chfoo, demian.brecht, serhiy.storchaka
Date 2015-03-10.05:41:33
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
> I think that for consistency either parse empty name-value pair as key="", value=None

There is already a test present ( that ensures an unset name/value pair is ignored altogether, so I don't think that makes sense from a backwards compatibility standpoint. For consistency, I kept the functionality where nameless cookies are ignored (i.e. "=foo"). I think that while it may be breaking backwards compatibility for buggy edge cases, it's more consistent with existing functionality and actually conforms to the RFC. That said, I'm not going to argue over it heatedly, so if you'd still rather see those cases permitted, let me know and I'll change it.

Valueless cookies are still permitted to keep backwards compatible as there are existing tests for that.
Date User Action Args
2015-03-10 05:41:34demian.brechtsetrecipients: + demian.brecht, BreamoreBoy, berker.peksag, serhiy.storchaka, chfoo
2015-03-10 05:41:34demian.brechtsetmessageid: <>
2015-03-10 05:41:34demian.brechtlinkissue23138 messages
2015-03-10 05:41:34demian.brechtcreate