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 peter.otten
Recipients peter.otten, yves@zioup.com
Date 2011-09-03.10:15:20
SpamBayes Score 0.00012530504
Marked as misclassified No
Message-id <1315044921.45.0.947280837762.issue12888@psf.upfronthosting.co.za>
In-reply-to
Content
The unescape() method uses re.sub(regex, sub, re.ASCII), but the third argument is count, not flags. Fix is easy: use

re.sub(regex, sub, flags=re.ASCII).
History
Date User Action Args
2011-09-03 10:15:21peter.ottensetrecipients: + peter.otten, yves@zioup.com
2011-09-03 10:15:21peter.ottensetmessageid: <1315044921.45.0.947280837762.issue12888@psf.upfronthosting.co.za>
2011-09-03 10:15:20peter.ottenlinkissue12888 messages
2011-09-03 10:15:20peter.ottencreate