[Python-3000] u'text' as an alias for 'text'?

Christian Heimes lists at cheimes.de
Thu Mar 20 20:10:41 CET 2008


Eric Smith schrieb:
> py3k supports future imports.  For example, "from __future__ import 
> with_statement" works, and I presume it's a no-op.  I did not forward 
> port print_function, but maybe I should?

Python 3.0 must accept all future imports that are available in the 2.x 
series although they are no-ops. from __future__ import feature has to 
work even if the feature is already available by default.

Christian


More information about the Python-3000 mailing list