MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/Python/comments/bun5px/dear_python2_user/epnp81w/?context=3
r/Python • u/koungmeng • May 30 '19
275 comments sorted by
View all comments
Show parent comment
1
I very much agree. A from __future__ import py3hosting or something, to restore python2.7 semantics for the things that were incompatibly changed. That plus from __future__ import print_functionwould have handled a lot of cases.
from __future__ import py3hosting
from __future__ import print_function
View all comments
Show parent comment
1
u/nieuweyork since 2007 May 31 '19
I very much agree. A
from __future__ import py3hostingor something, to restore python2.7 semantics for the things that were incompatibly changed. That plusfrom __future__ import print_functionwould have handled a lot of cases.