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


Groups > comp.lang.python > #36048

Re: Important questions about __future__

Path csiph.com!newsfeed.hal-mli.net!feeder3.hal-mli.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!newsfeed.xs4all.nl!newsfeed1.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail
Return-Path <ian.g.kelly@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.003
X-Spam-Evidence '*H*': 0.99; '*S*': 0.00; 'operator': 0.03; 'cpython': 0.05; 'raises': 0.07; '__future__': 0.09; 'pep': 0.09; '<>.': 0.11; "'from": 0.16; "(it's": 0.16; 'replaces': 0.16; 'subject:questions': 0.16; 'wrote:': 0.17; 'thu,': 0.17; 'jan': 0.18; 'import': 0.21; 'statement': 0.23; 'header:In-Reply-To:1': 0.25; 'am,': 0.27; 'implemented': 0.27; 'andrew': 0.27; 'message- id:@mail.gmail.com': 0.27; 'skip:_ 10': 0.29; 'print': 0.32; 'to:addr:python-list': 0.33; 'received:google.com': 0.34; 'received:209.85.220': 0.35; 'received:209.85': 0.35; 'does': 0.37; 'received:209': 0.37; 'subject:: ': 0.38; 'to:addr:python.org': 0.39; 'where': 0.40; 'header:Received:5': 0.40; 'think': 0.40; 'subject:Important': 0.62; '2013': 0.84; 'to:name:python': 0.84
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=shKJ/zZZiYsCOeAko7r1ffEezZHHvZVEUb+95zoSOHk=; b=Y+yKZ/75MEUFQgn/r6roRtoL5qXuv9PgNVS8U4YZ9TXXu1Dgcne+2P3zMnnDOMTtZ6 GjuittTBjs9ypMA6S4zzyKkd3yO3aCi+eYGgjEkDDvPC2+98zq+A23xovnyXL20Nh4g9 KkOyJ65Km0pMpHCnF675b36ElABtrYtRkm4x/5wOmZQmnybF9G+q/Ht7K9gcEs+4jOrg zycubmzrGSCNdLFoyDVDR+Skej/ZBExSyGSK4APyRH+hhvBNiK3kz2iGRVX5NjaZxn3o Yj8gJ6m3KSQUZ1ovrvykoj5gX/vaFDWqzQeczYCIbLkMlrJL/i9m5Ge4fmkV4RGf9hCe Qt2A==
MIME-Version 1.0
In-Reply-To <50E54F0E.1030601@gmail.com>
References <50E54F0E.1030601@gmail.com>
From Ian Kelly <ian.g.kelly@gmail.com>
Date Thu, 3 Jan 2013 03:02:16 -0700
Subject Re: Important questions about __future__
To Python <python-list@python.org>
Content-Type text/plain; charset=ISO-8859-1
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>
Newsgroups comp.lang.python
Message-ID <mailman.29.1357207369.2939.python-list@python.org> (permalink)
Lines 10
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1357207369 news.xs4all.nl 6976 [2001:888:2000:d::a6]:42129
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:36048

Show key headers only | View raw


On Thu, Jan 3, 2013 at 2:27 AM, Andrew Berg <bahamutzero8825@gmail.com> wrote:
> Does 'from __future__ import barry_as_FLUFL' do anything? Despite PEP
> 401, using print as a statement still raises a SyntaxError.

I think it only replaces the != operator with <>.

> Where is 'from __future__ import braces' implemented in CPython (it's
> not in __future__.py)?

Python/future.c

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


Thread

Re: Important questions about __future__ Ian Kelly <ian.g.kelly@gmail.com> - 2013-01-03 03:02 -0700

csiph-web