Hacker News new | past | comments | ask | show | jobs | submit login

Linux doesn't require 2.7, and will be switching soon. But you can remove most of the pain from a future migration by just adding the following to all your 2.7 code and changing your code.

Note that these future modules were all available in 2.6 which was released in 2008. But just like the ruby 2.0 upgrade people procrastinate. But you only have 2 years before python 2.7 is no longer maintained.

from __future__ import (absolute_import, division, print_function) __metaclass__ = type




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

Search: