New submission from Christopher Foo:
Something like "Set-Cookie: ; Expires=Thu, 01 Jan 1970 00:00:10 GMT" causes the
resulting cookie.value to be parsed as an int.
I expected either str or None as described in the documentation.
Example evil server:
try:
import http
New submission from Christopher Foo:
I was running my program under CI and it failed under 3.2:
text = textwrap.indent(text, '* ', predicate=lambda line: True)
AttributeError: 'module' object has no attribute 'indent'
textwrap.indent appears to be a new
New submission from Christopher Foo:
When encoding a string with the IDNA codec I expected that it will always raise
an exception with empty labels. When I do this
>>> 'example.c…'.encode('idna').decode('ascii')
it returns
'example.c...