Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!goblin3!goblin1!goblin.stu.neva.ru!news2.arglkargh.de!news.mixmin.net!feeds.phibee-telecom.net!newsfeed.xs4all.nl!newsfeed3.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!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.008 X-Spam-Evidence: '*H*': 0.98; '*S*': 0.00; 'subsequent': 0.05; '(especially': 0.07; 'rfc': 0.09; 'subject: [': 0.09; 'subject:question': 0.10; 'cc:addr:python-list': 0.11; '-tkc': 0.16; '822': 0.16; 'from:addr:python.list': 0.16; 'from:addr:tim.thechases.com': 0.16; 'from:name:tim chase': 0.16; 'to:addr:python.list': 0.16; 'to:addr:tim.thechases.com': 0.16; 'to:name:tim chase': 0.16; 'wrote:': 0.18; 'cc:addr:gmail.com': 0.22; 'cc:addr:python.org': 0.22; 'cc:2**1': 0.23; 'header': 0.24; 'cc:no real name:2**0': 0.24; '(see': 0.26; 'header:In-Reply- To:1': 0.27; 'wondering': 0.29; 'tim': 0.29; 'lines': 0.31; 'chase': 0.31; 'style': 0.33; 'but': 0.35; 'subject:]': 0.38; 'handle': 0.38; 'easy': 0.60; 'up,': 0.60; 'mentioned': 0.61; '8bit%:21': 0.69; 'default': 0.69; 'configparser': 0.84; 'received:50.22': 0.84; 'relate': 0.84; 'rita': 0.84 Date: Mon, 25 Nov 2013 18:35:57 -0600 From: Tim Chase To: Tim Chase Subject: Re: general ConfigParser question [PS] In-Reply-To: <20131125182906.732e210d@bigbox.christie.dr> References: <20131125182906.732e210d@bigbox.christie.dr> X-Mailer: Claws Mail 3.8.1 (GTK+ 2.24.10; x86_64-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - boston.accountservergroup.com X-AntiAbuse: Original Domain - python.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - tim.thechases.com X-Get-Message-Sender-Via: boston.accountservergroup.com: authenticated_id: tim@thechases.com Cc: python-list@python.org X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 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: 20 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1385426076 news.xs4all.nl 16008 [2001:888:2000:d::a6]:52643 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:60476 On 2013-11-25 18:29, Tim Chase wrote: > On 2013-11-25 18:32, Rita wrote: > > I was wondering if the default ConfigParser can handle multi line > > strings (especially in the relate section) > >=20 > > [Relate] > > data=3D"parent process A child process B > > Parent process B child process C >=20 > Yes, though I seem to recall that subsequent lines have to be > indented Just following up, it's mentioned in the docs, but it's easy to miss: """with continuations in the style of RFC 822 (see section 3.1.1, =E2=80=9CLONG HEADER FIELDS=E2=80=9D);""" -tkc