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 benjamin.peterson
Recipients benjamin.peterson, rsc
Date 2008-04-24.01:30:03
SpamBayes Score 0.09897527
Marked as misclassified No
Message-id <1209000605.53.0.452414546715.issue2650@psf.upfronthosting.co.za>
In-reply-to
Content
Thanks.

The loop in escape should really use enumerate instead of "for i in
range(len(pattern))".

Instead of using a loop, can't the test just use
"self.assertEqual(re.esacpe(same), same)?" Also, please add tests for
what re.escape should escape.
History
Date User Action Args
2008-04-24 01:30:05benjamin.petersonsetspambayes_score: 0.0989753 -> 0.09897527
recipients: + benjamin.peterson, rsc
2008-04-24 01:30:05benjamin.petersonsetspambayes_score: 0.0989753 -> 0.0989753
messageid: <1209000605.53.0.452414546715.issue2650@psf.upfronthosting.co.za>
2008-04-24 01:30:04benjamin.petersonlinkissue2650 messages
2008-04-24 01:30:03benjamin.petersoncreate