On Tue, 7 Sep 2010 06:02:39 am ALAN GAULD wrote: > I wonder if we could create a module that would make v2.7 simulate v3 > to a close degree? hmm... And is it sensible to try, should we not > perhaps just accept the difference?
from __future__ import print_function, unicode_literals from future_builtins import * will get you part of the way, but it's probably impossible to get the two to be *exactly* the same. -- Steven D'Aprano _______________________________________________ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: http://mail.python.org/mailman/listinfo/tutor