Re: Important questions about __future__

2013-01-03 Thread Steven D'Aprano
On Thu, 03 Jan 2013 03:27:42 -0600, Andrew Berg wrote: > Does 'from __future__ import barry_as_FLUFL' do anything? Yes, it re-enables <> and disables != as not equal: py> sys.version '3.3.0rc3 (default, Sep 27 2012, 18:44:58) \n[GCC 4.1.2 20080704 (Red Hat 4.1.2-52)]' py> 1 <> 2 File "", lin

Re: Important questions about __future__

2013-01-03 Thread Ian Kelly
On Thu, Jan 3, 2013 at 2:27 AM, Andrew Berg 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 CPy

Re: Important questions about __future__

2013-01-03 Thread Ramchandra Apte
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. > > >

Re: Important questions about __future__

2013-01-03 Thread Ramchandra Apte
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