diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2015-03-18 08:59:57 (GMT) |
---|---|---|
committer | Serhiy Storchaka <storchaka@gmail.com> | 2015-03-18 08:59:57 (GMT) |
commit | 9c1a9b2657b5e39c6359698e160cb2b7e6df1193 (patch) | |
tree | 807b9bced4326cb4c4ab7c8b531ff06455b3a100 /Doc/data | |
parent | 3505bd82a9b6a06ca4d97b2386c8da167b387743 (diff) | |
download | cpython-9c1a9b2657b5e39c6359698e160cb2b7e6df1193.zip cpython-9c1a9b2657b5e39c6359698e160cb2b7e6df1193.tar.gz cpython-9c1a9b2657b5e39c6359698e160cb2b7e6df1193.tar.bz2 |
Issue #2211: Updated the implementation of the http.cookies.Morsel class.
Setting attributes key, value and coded_value directly now is deprecated.
update() and setdefault() now transform and check keys. Comparing for
equality now takes into account attributes key, value and coded_value.
copy() now returns a Morsel, not a dict. repr() now contains all attributes.
Optimized checking keys and quoting values. Added new tests.
Original patch by Demian Brecht.
Diffstat (limited to 'Doc/data')
0 files changed, 0 insertions, 0 deletions