This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author eric.araujo
Recipients eric.araujo, ezio.melotti, jdennis, r.david.murray
Date 2013-05-14.22:10:00
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
I have just been bitten by a bug (haven’t checked if it’s covered by the added tests) where Cookies uses string.translate incorrectly:

  File "/usr/lib/python2.7/", line 323, in _quote
    if "" == translate(str, idmap, LegalChars):
  File "/usr/lib/python2.7/", line 493, in translate
    return s.translate(table, deletions)
TypeError: translate() takes exactly one argument (2 given)

The state of the Cookie module is quite embarrassing.
Date User Action Args
2013-05-14 22:10:00eric.araujosetrecipients: + eric.araujo, ezio.melotti, r.david.murray, jdennis
2013-05-14 22:10:00eric.araujosetmessageid: <>
2013-05-14 22:10:00eric.araujolinkissue16611 messages
2013-05-14 22:10:00eric.araujocreate