Karthikeyan Singaravelan <[email protected]> added the comment:
This could be due to issue22796. See also
https://bugs.python.org/issue27828#msg273355.
➜ cpython git:(master) ✗ git checkout
b1e36073cdde71468efa27e88016aa6dd46f3ec7~1 Lib/http/cookies.py
➜ cpython git:(master) ✗ ./python.exe -c 'from http.cookies import
SimpleCookie; print(SimpleCookie("a=1; test;"))' # parses a=1
Set-Cookie: a=1
➜ cpython git:(master) ✗ git checkout b1e36073cdde71468efa27e88016aa6dd46f3ec7
Lib/http/cookies.py
➜ cpython git:(master) ✗ ./python.exe -c 'from http.cookies import
SimpleCookie; print(SimpleCookie("a=1; test;"))' # No value printed
----------
nosy: +xtreak
_______________________________________
Python tracker <[email protected]>
<https://bugs.python.org/issue37277>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com