[issue32755] Several cookies with the same name get intermixed

2018-02-13 Thread Terry J. Reedy
Terry J. Reedy added the comment: Yes, http.cookies is part of the stdlib. This is why I continued "the relevant question here is whether http.cookies has a bug", verified the cookie behavior you reported, and added information relevant to its possible bugginess. --

[issue32755] Several cookies with the same name get intermixed

2018-02-13 Thread Юрий Пухальский
Юрий Пухальский added the comment: "Questions about using cpython and 3rd party libraries like aiohttp should be directed elsewhere." Sorry, I thought http is part of "stdlib"? But if sending this here is totally wrong, I beg pardon. -- ___ Python

[issue32755] Several cookies with the same name get intermixed

2018-02-10 Thread R. David Murray
R. David Murray added the comment: Well, "supersedes" sounds like all the old cookie values should be discarded, so I'd be inclined to call this a bug. On the other hand, programs could be (inadvertently, probably) depending on this behavior, so I'd also be inclined to only fix it in the nex

[issue32755] Several cookies with the same name get intermixed

2018-02-09 Thread Nitish
Change by Nitish : -- nosy: +nitishch ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/

[issue32755] Several cookies with the same name get intermixed

2018-02-09 Thread Terry J. Reedy
Terry J. Reedy added the comment: This tracker is for modifying the cpython distribution -- the interpreter, stdlib, doc, and other associated files. Questions about using cpython and 3rd party libraries like aiohttp should be directed elsewhere. So, the relevant question here is whether htt

[issue32755] Several cookies with the same name get intermixed

2018-02-03 Thread Юрий Пухальский
New submission from Юрий Пухальский : I'm using python 3.5.4. The site gives me two headers: I'm using aiohttp that iterates the headers and if it's set-cookie, calls SimpleCookie.load(). The latter maintains a dict inside by the cookie name. So that's what happens, first we add a dict entry w