Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #51721
| Path | csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!us.feeder.erje.net!newsfeed.fsmpi.rwth-aachen.de!border2.nntp.ams2.giganews.com!border4.nntp.ams.giganews.com!border2.nntp.ams.giganews.com!nntp.giganews.com!news.astraweb.com!border5.a.newsrouter.astraweb.com!xlned.com!feeder3.xlned.com!npeer.de.kpn-eurorings.net!npeer-ng0.de.kpn-eurorings.net!news.tele.dk!news.tele.dk!small.news.tele.dk!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <ishish@domhain.de> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.011 |
| X-Spam-Evidence | '*H*': 0.98; '*S*': 0.00; ';-)': 0.03; 'interpreter': 0.05; 'subject:Python': 0.06; 'subject:code': 0.07; '__future__': 0.16; 'braces': 0.16; 'indent': 0.16; 'subject: \n ': 0.16; 'subject:between': 0.16; 'import': 0.22; 'header:User-Agent:1': 0.23; 'recognize': 0.24; "shouldn't": 0.24; 'lines': 0.31; 'subject:that': 0.31; 'next': 0.36; 'to:addr:python-list': 0.38; 'to:addr:python.org': 0.39; 'charset:windows-1252': 0.65; 'line,': 0.68; 'ending': 0.78; '...and': 0.84; 'sas': 0.84 |
| Date | Wed, 31 Jul 2013 14:13:53 +0100 |
| From | IshIsh <ishish@domhain.de> |
| User-Agent | Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130704 Icedove/17.0.7 |
| MIME-Version | 1.0 |
| To | Python Mailing List <python-list@python.org> |
| Subject | Re: Script that converts between indentation and curly braces in Python code |
| Content-Type | text/plain; charset=windows-1252; format=flowed |
| Content-Transfer-Encoding | 8bit |
| X-Mailman-Approved-At | Thu, 01 Aug 2013 09:19:43 +0200 |
| 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.68.1375341584.1251.python-list@python.org> (permalink) |
| Lines | 8 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1375341584 news.xs4all.nl 15948 [2001:888:2000:d::a6]:50491 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:51721 |
Show key headers only | View raw
from __future__ import braces is just an easter egg... ...and shouldn't it better state from __past__ import braces ;-) Anyway, as far as I know the IPython interpreter can recognize lines ending in ‘:’ and indent the next line, while also un-indenting automatically after ‘raise’ or ‘return’. => sas
Back to comp.lang.python | Previous | Next | Find similar | Unroll thread
Re: Script that converts between indentation and curly braces in Python code IshIsh <ishish@domhain.de> - 2013-07-31 14:13 +0100
csiph-web