Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!feeds.phibee-telecom.net!newsfeed.xs4all.nl!newsfeed4.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.056 X-Spam-Evidence: '*H*': 0.89; '*S*': 0.00; 'dump': 0.16; 'subject:questions': 0.16; 'yaml': 0.16; 'file,': 0.19; 'load': 0.23; 'looks': 0.24; 'message-id:@mail.gmail.com': 0.30; 'file': 0.32; 'skip:d 20': 0.34; 'received:google.com': 0.35; '8bit%:4': 0.38; 'to:addr:python-list': 0.38; 'to:addr:python.org': 0.39 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=Wo0Y5LLUrZrF/gNVmXOE97aDhd2EijAaQ6WxRBO3/lo=; b=ShPnZgzL+UEpL7ki2sikc9hrrOg6RWfvHbv6iUqLH7+sko7R5EJ2VxvcODEPeFHokA 9p79pERqqIbfuZmuUVR7yyIZ6Sv+nAsgwffFyVxmsQj57SX7fOVwTLKAXYSYICUn4FMx 9lRAclQ5Qmwvu7RnFvvyFjA+rZ/OoBcrVs/H/zCrsnwVd7KToJocvRjF024abrwnZEA3 PPfrzuKXjKrSHXToRMO13RjlQqiGlPIbyHDCU1XYIaJXRacjzT3pnn6YAFKUqBF+AxWz OSOq/ZTQbwWIlYysvnSN4UQNWJLvFIo24I5caiy99PB4OU1luCUcTbp+QJVe0R6vq3C2 cZdA== MIME-Version: 1.0 X-Received: by 10.194.170.227 with SMTP id ap3mr6355718wjc.40.1377685726259; Wed, 28 Aug 2013 03:28:46 -0700 (PDT) Date: Wed, 28 Aug 2013 18:28:46 +0800 Subject: about pyyaml questions! From: Thanatos xiao To: python-list@python.org Content-Type: multipart/alternative; boundary=089e0122e92253711d04e4ff74fc 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: 53 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1377685728 news.xs4all.nl 15913 [2001:888:2000:d::a6]:33441 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:53122 --089e0122e92253711d04e4ff74fc Content-Type: text/plain; charset=ISO-8859-1 Hi Guys: Now I use pyyaml to load a yaml file, after I dump this load data,but I found an questions,before I load the yaml file,the file looks like: aaaa - -b -c - -e -x after I dump this data and write file, the file looks like: aaaa - -b -c - -e -x although when dump file, I have set default_flow_style=False Can the dumped file the same as original file....? ths..... --089e0122e92253711d04e4ff74fc Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
Hi Guys:
=A0 =A0Now I use pyyaml to load a yaml file, = after I dump this load data,but I found an questions,before I load the yaml= file,the file looks like:

aaaa
-
<= div> =A0 =A0-b
=A0 =A0-c
-
=A0 =A0-e
=A0= =A0-x

after I dump this data and write file, the = file looks like:
aaaa
- =A0-b
=A0 =A0-c
=
- =A0-e
=A0 =A0-x

although when dump file, I have set=A0default_flow_style=3D= Fal= se

<= /span>
Can the dumped file the same as or= iginal file....?

ths.....
--089e0122e92253711d04e4ff74fc--