Important questions about __future__
Ramchandra Apte
maniandram01 at gmail.com
Thu Jan 3 04:45:00 EST 2013
On Thursday, 3 January 2013 15:13:44 UTC+5:30, Ramchandra Apte wrote:
> On Thursday, 3 January 2013 14:57:42 UTC+5:30, Andrew Berg wrote:
>
> > Does 'from __future__ import barry_as_FLUFL' do anything? Despite PEP
>
> >
>
> > 401, using print as a statement still raises a SyntaxError.
>
> >
>
> > Where is 'from __future__ import braces' implemented in CPython (it's
>
> >
>
> > not in __future__.py)?
>
> >
>
> > --
>
> >
>
> > CPython 3.3.0 | Windows NT 6.2.9200.16461
>
> barry_as_FLUFL is probably simply a joke future statement (Barry is at the head of Python Development and would probably replace Guido in the future) (Guido is typically only active on python-ideas).
>
> from __future__ import braces is the Future statement (see http://docs.python.org/3/library/__future__.html)
>
> import __future__ simply imports __future__.py as a plain, ordinary module
Link should have been http://docs.python.org/3/reference/simple_stmts.html#future
---
Happy, new, joyful, etc new boring year.
More information about the Python-list
mailing list