[issue23138] cookiejar parses cookie value as int with empty name-value pair and Expires
Serhiy Storchaka
report at bugs.python.org
Fri Mar 13 08:17:20 CET 2015
Serhiy Storchaka added the comment:
As side effect the parsing is now twice faster.
$ ./python -m timeit -s "from http.cookiejar import parse_ns_headers" -- "parse_ns_headers('foo=bar; Expires=Thu, 01 Jan 1970 00:00:10 GMT')"
Before: 1000 loops, best of 3: 976 usec per loop
After: 1000 loops, best of 3: 537 usec per loop
----------
resolution: -> fixed
stage: commit review -> resolved
status: open -> closed
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue23138>
_______________________________________
More information about the Python-bugs-list
mailing list