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


Groups > comp.lang.python > #36048

Re: Important questions about __future__

References <50E54F0E.1030601@gmail.com>
From Ian Kelly <ian.g.kelly@gmail.com>
Date 2013-01-03 03:02 -0700
Subject Re: Important questions about __future__
Newsgroups comp.lang.python
Message-ID <mailman.29.1357207369.2939.python-list@python.org> (permalink)

Show all headers | 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