osdir.com


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

python 2 to 3 converter


Greg Ewing wrote:
> On 8/12/19 9:30 pm, songbird wrote:
>>    wouldn't it make more sense to just go back and fix the
>> converter program than to have to manually convert all this
>> python2 code?
>
> Anything that isn't already fixed by 2to3 is probably
> somewhere between very difficult and impossible to fix
> using an automated process. It sounds like an interesting
> project, but be aware that it's probably an AI-complete
> problem.

  if the program already exists and is working then that
implies a parser already exists for it.

  this is not a general AI or CS issue.


  songbird