[New-bugs-announce] [issue2212] Cookie.BaseCookie has ambiguous unicode handling

Jamie Bliss report at bugs.python.org
Fri Feb 29 21:07:49 CET 2008


New submission from Jamie Bliss:

The primary offender is in BaseCookie.load(), which uses the test:
    type(rawdata) == type("")
which should be:
    isinstance(rawdata, basestring)

----------
components: Library (Lib)
messages: 63145
nosy: astronouth7303
severity: normal
status: open
title: Cookie.BaseCookie has ambiguous unicode handling
type: behavior
versions: Python 2.5, Python 2.6

__________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue2212>
__________________________________


More information about the New-bugs-announce mailing list