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 bhy
Recipients bhy, collinwinter
Date 2008-05-17.12:30:07
SpamBayes Score 0.042564087
Marked as misclassified No
Message-id <1211027417.56.0.456898655973.issue2899@psf.upfronthosting.co.za>
In-reply-to
Content
Functions like find() rfind() index() rindex() has been removed in
Python 3.0. So there should be a 2to3 fix for it.

Eg. fix
  if string.find(s, "hello") >= 0:
to
  if str.find(s, "hello") >= 0:

Thank you!
History
Date User Action Args
2008-05-17 12:30:18bhysetspambayes_score: 0.0425641 -> 0.042564087
recipients: + bhy, collinwinter
2008-05-17 12:30:17bhysetspambayes_score: 0.0425641 -> 0.0425641
messageid: <1211027417.56.0.456898655973.issue2899@psf.upfronthosting.co.za>
2008-05-17 12:30:15bhylinkissue2899 messages
2008-05-17 12:30:14bhycreate