Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
Can GPT4 convert Python2 code to Python3?
2 points by jancsika on April 12, 2023 | hide | past | favorite | 1 comment
I know there is a set of open source projects written in Python2 that never got converted to Python3. And a large subset of that for which there are no plans to ever convert.

If you make a prompt to convert a few dozen of such projects to Python3, what comes out? Is it significantly closer to the finish line than nothing at all? Or are there so many dragons in the output that one might as well have started from scratch?



This is a moot question because 90% of the Python2 to Python3 conversions stalled due to dependencies and not language features.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: