[issue1375011] Improper handling of duplicate cookies

2013-02-23 Thread Martin Melin

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 
<http://bugs.python.org/issue1375011>
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1375011] Improper handling of duplicate cookies

2013-02-23 Thread Martin Melin

Martin Melin added the comment:

Just adding the 3.2 patch

--
Added file: http://bugs.python.org/file29179/issue1375011-3.2.patch

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



[issue7504] Same name cookies

2013-02-23 Thread Martin Melin

Martin Melin added the comment:

FYI, this looks like the same issue as #1375011

--
nosy: +mmelin

___
Python tracker 
<http://bugs.python.org/issue7504>
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue16709] unittest discover order is filesystem specific - hard to reproduce

2013-02-23 Thread Martin Melin

Martin Melin added the comment:

Not sure if there was anything more to it than this, but please find an attempt 
to add this attached.

--
keywords: +patch
nosy: +mmelin
Added file: http://bugs.python.org/file29197/issue16709.patch

___
Python tracker 
<http://bugs.python.org/issue16709>
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com