Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
NelsonMinar
on June 28, 2018
|
parent
|
context
|
favorite
| on:
Python 3 at Facebook
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?
martincmartin
on June 28, 2018
|
next
[–]
We definitely use it a Facebook, the linter suggests when you should use six instead.
cup-of-tea
on June 28, 2018
|
prev
|
next
[–]
There is also python-future which does similar things, I think.
andrewshadura
on June 29, 2018
|
parent
|
next
[–]
Yes, and python-future does it in a more Pythonic was, it seems to me
AceJohnny2
on June 28, 2018
|
prev
[–]
It's disappointing to me that six.py hasn't yet made it into 2.7's standard library. That would definitely help enormously.
rspeer
on June 28, 2018
|
parent
[–]
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: