Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Numpy: Plan for dropping Python 2.7 support. Parent comment
__future__.division was optional in 2.0.0, which was released in 2001 __future__.print_function was optional in 2.6.0a2, which was released in 2008
Simply adding the following line to new project over the past 8 years would have made the move to python 3 less difficult.
from __future__ import (division, print_function)
There are no comments on this comment yet.
Simply adding the following line to new project over the past 8 years would have made the move to python 3 less difficult.
While I am annoyed that they didn't just alias xrange to range etc...us users do need to take ownership for our bad decisions.