SilentGhost added the comment:
This is not a regression and you can see that if you do
print(SimpleCookie('A=B; expires=Thu, 01-Jan-1970 00:00:00 GMT, C=D'))
The values of expires and Path attribute were parsed incorrectly, even though
you got two cookies. The problem as far as I can see is a
New submission from Ilya Kreymer:
This is a peculiar regression in 3.5 where a comma-separated cookie following
an expires field is considered invalid:
Ex: which results in a silent error/empty cookie in 3.5.1
Python 3.5.1 (default, Dec 26 2015, 18:11:22)
[GCC 4.2.1 Compatible Apple LLVM 7.0.