Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #36045

Re: Important questions about __future__

Newsgroups comp.lang.python
Date 2013-01-03 01:43 -0800
References <mailman.24.1357205269.2939.python-list@python.org>
Subject Re: Important questions about __future__
From Ramchandra Apte <maniandram01@gmail.com>
Message-ID <mailman.26.1357206805.2939.python-list@python.org> (permalink)

Show all headers | View raw


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

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Important questions about __future__ Andrew Berg <bahamutzero8825@gmail.com> - 2013-01-03 03:27 -0600
  Re: Important questions about __future__ Ramchandra Apte <maniandram01@gmail.com> - 2013-01-03 01:43 -0800
    Re: Important questions about __future__ Ramchandra Apte <maniandram01@gmail.com> - 2013-01-03 01:45 -0800
    Re: Important questions about __future__ Ramchandra Apte <maniandram01@gmail.com> - 2013-01-03 01:45 -0800
  Re: Important questions about __future__ Ramchandra Apte <maniandram01@gmail.com> - 2013-01-03 01:43 -0800
  Re: Important questions about __future__ Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2013-01-03 10:20 +0000

csiph-web