13 ms·
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?
by NelsonMinar 8y ago
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?
- AceJohnny2 8y agoIt's disappointing to me that six.py hasn't yet made it into 2.7's standard library. That would definitely help enormously.
- rspeer 8y agoThe 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.
- cup-of-tea 8y agoThere is also python-future which does similar things, I think.
- andrewshadura 8y agoYes, and python-future does it in a more Pythonic was, it seems to me
- martincmartin 8y agoWe definitely use it a Facebook, the linter suggests when you should use six instead.