Martin Melin added the comment:

Attached is a patch with Viraj's original fix except using a set instead of a 
dict as suggested by Björn. This patch also includes a test case and a note in 
the docs about this behavior.

Since Cookie has been moved and the code has been cleaned up somewhat between 
2.7 and 3.2 I'm attaching patches for both branches.

Of course, a decision still needs to be made whether or not this should be 
applied; the behavior is more correct now, but I don't know if it is worth 
potentially breaking applications that have come to expect the old behavior. 
There doesn't seem to be a consensus in #1372650 but I thought having a 
complete patch would be a good thing regardless.

----------
nosy: +mmelin
Added file: http://bugs.python.org/file29178/issue1375011-2.7.patch

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue1375011>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to