Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!aioe.org!feeder.news-service.com!newsfeed.xs4all.nl!newsfeed5.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.002 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'subject:: [': 0.03; 'python.': 0.05; 'indentation': 0.07; '__future__': 0.09; 'braces': 0.09; 'option)': 0.09; 'syntax.': 0.09; 'underscores': 0.09; 'pm,': 0.11; 'syntax': 0.12; 'blocking': 0.14; 'wrote:': 0.14; 'directive.': 0.16; 'subject:] ': 0.16; 'alternate': 0.19; 'variable': 0.21; 'header:In-Reply-To:1': 0.22; 'mon,': 0.22; 'environment': 0.26; 'chris': 0.27; 'message-id:@mail.gmail.com': 0.28; '(as': 0.29; 'import': 0.32; 'to:addr:python-list': 0.32; 'option': 0.33; 'url:docs': 0.33; 'words,': 0.33; 'allow': 0.36; 'two': 0.37; 'received:209.85': 0.37; 'url:python': 0.37; 'apr': 0.38; 'engage': 0.38; 'received:google.com': 0.38; 'url:org': 0.38; 'to:addr:python.org': 0.39; 'received:209': 0.39; 'header:Received:5': 0.40; 'might': 0.40; '2011': 0.62; 'subject:line': 0.73; 'received:209.85.210.174': 0.84; 'received :mail-iy0-f174.google.com': 0.84; 'subject:commands': 0.84 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type:content-transfer-encoding; bh=DooUU76l+pMeSqfs3bV7xc3IL9O2+0Hw4JPSNxZYEUs=; b=FhWsLVC6q7LCt00RHwhDoitqhPgXVZmK36W3zRt9v0/snaVS39ZOBPtpjbb/s0yHhL 6oQSCdh0kqFmtDvCPb9h7Iaqvn6bTCwV4+XpjWs0Vka2rRGgkAhfjtF4vKzzPn7UJpLr dzKBl0Y56694cZTrzMb6bfMyCK3/nGABp0l04= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=cv/0f+jhL5/MKwrEwQuKRXCzNcu9PUPVjZqcmiciZhqPJOnoDs/xjW1W/GRz6kyzHZ q7L+FJaPwZAHNzgnQCVpDt9RwlmpWBlAEakDB+vKk9iGWb3LWql3UEjMhWno7i0iPiwO 1WRFbhWfcOsQ525MGgCJwqUvOz6yOkyUlyozs= MIME-Version: 1.0 In-Reply-To: References: <8dc6c9e4-e50e-401f-95d9-42f80a90196c@l30g2000vbn.googlegroups.com> Date: Mon, 18 Apr 2011 16:12:02 +1000 Subject: Re: [Q] ipython: Multiple commands on the same line and newlines From: Chris Angelico To: python-list@python.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 17 NNTP-Posting-Host: 82.94.164.166 X-Trace: 1303107124 news.xs4all.nl 81482 [::ffff:82.94.164.166]:52237 X-Complaints-To: abuse@xs4all.nl Xref: x330-a1.tempe.blueboxinc.net comp.lang.python:3460 On Mon, Apr 18, 2011 at 4:01 PM, harrismh777 wrot= e: > =A0 =A0It might be nice (as an option) to be able to disengage the forced > indentation syntax rules of Python. In other words, provide indentation > syntax by default and allow an option via environment variable to engage = an > alternate (more C-like) blocking syntax. > You can do that with a future directive. from __future__ import braces That's two underscores before and after the word "future". http://docs.python.org/reference/simple_stmts.html#future-statements Chris Angelico