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

I was surprised there was no mention of six.py. In my experience it's been a key enabler for 2->3 transitions. But maybe not at Facebook?


We definitely use it a Facebook, the linter suggests when you should use six instead.


There is also python-future which does similar things, I think.


Yes, and python-future does it in a more Pythonic was, it seems to me


It's disappointing to me that six.py hasn't yet made it into 2.7's standard library. That would definitely help enormously.


The standard library is where code goes to die. If six were in the standard library, it would be as stagnant and impossible to fix as 2to3.




Consider applying for YC's Summer 2026 batch! Applications are open till May 4

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

Search: