Issue39172
Created on 2019-12-31 13:32 by ניסן בכר, last changed 2022-04-11 14:59 by admin. This issue is now closed.
| Messages (2) | |||
|---|---|---|---|
| msg359115 - (view) | Author: ניסן בכר (ניסן בכר) | Date: 2019-12-31 13:32 | |
When using the following code to run using python 2.x, it works:
import string
string.find("asd", "sd")
But this method is deprecated in python 3.x
When using "2to3" tool to convert, it doesn't convert it successfully.
|
|||
| msg359116 - (view) | Author: Karthikeyan Singaravelan (xtreak) * ![]() |
Date: 2019-12-31 14:12 | |
Seems to be a duplicate of issue2899 |
|||
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2022-04-11 14:59:24 | admin | set | github: 83353 |
| 2019-12-31 16:49:19 | serhiy.storchaka | set | status: open -> closed superseder: Fixers find, rfind, etc in 'string' module resolution: duplicate stage: resolved |
| 2019-12-31 14:12:48 | xtreak | set | nosy:
+ xtreak messages: + msg359116 |
| 2019-12-31 14:09:52 | xtreak | set | title: Translation of "string.find('asd', 'sd')" doesn't work -> Transformation of "string.find('asd', 'sd')" to Python 3 using 2to3 |
| 2019-12-31 13:32:58 | ניסן בכר | create | |
