[issue11315] Fix/add unicode support in Cookie module?

2015-10-30 Thread Chad Whitacre
Chad Whitacre added the comment: > in the 3.x version, only character strings (unicode) are accepted > The code was changed to do this in r83361 #3788. That seems like a bug to me. It looks like the intention was to avoid the `type("")` check for stylistic reasons, so `isinstance(rawdata,

[issue11315] Fix/add unicode support in Cookie module?

2011-02-25 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: Thanks for the report and patch. This is not as easy as it sounds: The doc ambiguously uses “string”; the code clearly wants only byte strings (str); in the 3.x version, only character strings (unicode) are accepted; “raw” would suggest to me

[issue11315] Fix/add unicode support in Cookie module?

2011-02-25 Thread Éric Araujo
Changes by Éric Araujo mer...@netwok.org: -- nosy: +orsenthil ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11315 ___ ___ Python-bugs-list mailing