diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2015-03-18 10:59:57 +0200 |
---|---|---|
committer | Serhiy Storchaka <storchaka@gmail.com> | 2015-03-18 10:59:57 +0200 |
commit | 64b8a3c1aad670fa171f93216000925daf6c8ff9 (patch) | |
tree | 32e65bfb6939ade668ff0bdf001097f3f9846c7e /Python/fileutils.c | |
parent | e7b5001ed33fe493f015152540870322b5dbc14f (diff) | |
download | cpython-64b8a3c1aad670fa171f93216000925daf6c8ff9.tar.gz |
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 'Python/fileutils.c')
0 files changed, 0 insertions, 0 deletions