]> granicus.if.org Git - python/commit
Removed a confusing line from a docstring in http.cookies (GH-6482)
authorAlex Gaynor <alex.gaynor@gmail.com>
Sun, 15 Apr 2018 21:23:47 +0000 (17:23 -0400)
committerGitHub <noreply@github.com>
Sun, 15 Apr 2018 21:23:47 +0000 (17:23 -0400)
commitafbbac12a517818a1efa88f7bea18e82b68a79d4
treeac984c67db16a437ddb4973c1c67a31e648df8ac
parent1a5c4bdb6ecc6a8b19ff33bde323ab188ed60977
Removed a confusing line from a docstring in http.cookies (GH-6482)

There's no reason a cookie should _ever_ contain pickled data. That's just asking for a critical security vulnerability. Back in Python2 there were helpers for doing that, but they're no more in Python3. Now coded_value is used when the value needs to be encoded for any reason.
Lib/http/cookies.py