Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #3460
| 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 | <rosuav@gmail.com> |
| 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 | <VsQqp.9358$vC5.5966@newsfe01.iad> |
| References | <8dc6c9e4-e50e-401f-95d9-42f80a90196c@l30g2000vbn.googlegroups.com> <mailman.436.1302972019.9059.python-list@python.org> <VsQqp.9358$vC5.5966@newsfe01.iad> |
| Date | Mon, 18 Apr 2011 16:12:02 +1000 |
| Subject | Re: [Q] ipython: Multiple commands on the same line and newlines |
| From | Chris Angelico <rosuav@gmail.com> |
| 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 <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.499.1303107124.9059.python-list@python.org> (permalink) |
| 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 |
Show key headers only | View raw
On Mon, Apr 18, 2011 at 4:01 PM, harrismh777 <harrismh777@charter.net> wrote: > It 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
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar
[Q] ipython: Multiple commands on the same line and newlines Phil Winder <philipwinder@gmail.com> - 2011-04-16 06:55 -0700
Re: [Q] ipython: Multiple commands on the same line and newlines Andrea Crotti <andrea.crotti.0@gmail.com> - 2011-04-16 18:29 +0200
Re: ipython: Multiple commands on the same line and newlines Phil Winder <philipwinder@gmail.com> - 2011-04-16 09:37 -0700
Re: ipython: Multiple commands on the same line and newlines Andrea Crotti <andrea.crotti.0@gmail.com> - 2011-04-17 14:11 +0200
Re: ipython: Multiple commands on the same line and newlines Phil Winder <philipwinder@gmail.com> - 2011-04-17 11:40 -0700
Re: ipython: Multiple commands on the same line and newlines Alexander Kapps <alex.kapps@web.de> - 2011-04-17 21:39 +0200
Re: [Q] ipython: Multiple commands on the same line and newlines Chris Angelico <rosuav@gmail.com> - 2011-04-17 02:33 +1000
Re: [Q] ipython: Multiple commands on the same line and newlines Terry Reedy <tjreedy@udel.edu> - 2011-04-16 12:39 -0400
Re: [Q] ipython: Multiple commands on the same line and newlines harrismh777 <harrismh777@charter.net> - 2011-04-18 01:01 -0500
Re: [Q] ipython: Multiple commands on the same line and newlines Chris Angelico <rosuav@gmail.com> - 2011-04-18 16:12 +1000
Re: [Q] ipython: Multiple commands on the same line and newlines "OKB (not okblacke)" <brenNOSPAMbarn@NObrenSPAMbarn.net> - 2011-04-17 04:22 +0000
csiph-web