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


Groups > comp.lang.python > #36046

Re: Important questions about __future__

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!eweka.nl!lightspeed.eweka.nl!194.109.133.86.MISMATCH!newsfeed.xs4all.nl!newsfeed3.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail
Return-Path <maniandram01@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.000
X-Spam-Evidence '*H*': 1.00; '*S*': 0.00; 'cpython': 0.05; 'guido': 0.05; 'raises': 0.07; 'python': 0.09; '__future__': 0.09; 'boring': 0.09; 'braces': 0.09; 'imports': 0.09; 'pep': 0.09; 'to:addr:comp.lang.python': 0.09; 'cc:addr:python-list': 0.10; "'from": 0.16; "(it's": 0.16; 'happy,': 0.16; 'subject:questions': 0.16; 'url:html)': 0.16; 'wrote:': 0.17; 'windows': 0.19; 'module': 0.19; 'import': 0.21; 'new,': 0.22; 'cc:2**0': 0.23; 'statement': 0.23; 'cc:addr:python.org': 0.25; 'header:In-Reply- To:1': 0.25; 'header:User-Agent:1': 0.26; '---': 0.26; '(see': 0.27; 'implemented': 0.27; 'andrew': 0.27; 'replace': 0.27; 'skip:_ 10': 0.29; 'probably': 0.29; 'thursday,': 0.30; 'url:python': 0.32; 'print': 0.32; 'typically': 0.33; 'received:google.com': 0.34; 'received:209.85': 0.35; 'url:org': 0.36; 'url:library': 0.36; 'should': 0.36; 'does': 0.37; 'received:209': 0.37; 'subject:: ': 0.38; 'url:docs': 0.38; 'where': 0.40; 'link': 0.60; 'subject:Important': 0.62; 'skip:6 10': 0.63; '2013': 0.84; 'url:reference': 0.84
Newsgroups comp.lang.python
Date Thu, 3 Jan 2013 01:45:00 -0800 (PST)
In-Reply-To <10b6d5fe-ad73-4564-92f0-0f29d83f0d30@googlegroups.com>
Complaints-To groups-abuse@google.com
Injection-Info glegroupsg2000goo.googlegroups.com; posting-host=122.167.126.220; posting-account=uPFZNQoAAAAm9w7z13q1SjWNKNjztdcD
References <mailman.24.1357205269.2939.python-list@python.org> <10b6d5fe-ad73-4564-92f0-0f29d83f0d30@googlegroups.com>
User-Agent G2/1.0
X-Google-Web-Client true
X-Google-IP 122.167.126.220
MIME-Version 1.0
Subject Re: Important questions about __future__
From Ramchandra Apte <maniandram01@gmail.com>
To comp.lang.python@googlegroups.com
Content-Type text/plain; charset=ISO-8859-1
Cc "comp.lang.python" <python-list@python.org>
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Message-ID <mailman.27.1357206919.2939.python-list@python.org> (permalink)
Lines 35
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1357206919 news.xs4all.nl 6955 [2001:888:2000:d::a6]:35931
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:36046

Show key headers only | View raw


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.

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