Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> you have had to change quite a few things that are mutually incompatible between 2.x and 3.x

I made those changes while still targeting 2.7: around 2018 I was writing code for 2.7 that was forward-compatible with 3.x, as was common at the time. Since then, f-strings have been worth adding to my toolbox - most of Python 3's other new features haven't been.



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

Search: