Custom Query (121 matches)
Results (58 - 60 of 121)
| Ticket | Resolution | Summary | Owner | Reporter |
|---|---|---|---|---|
| #46 | worksforme | syck.dump is not here ! | xi | jean.philippe.mague _at_ gmail _d.o.t_ com |
| Description |
when installing pysyck from syck-0.61+svn231+patches.tar.gz, I end up with a module with only the Node type and the load function (and several blah funtions). When I install it from PySyck-0.61.2.tar.gz (with syck previouly installed) every goes just fine. I use python 2.4 on a Ubuntu Edgy |
|||
| #135 | invalid | PyYaml 3.08 w/ python 3.1 os x | xi | jjdenis@… |
| Description |
I can not setup PyYaml? 3.08 to work with python 3.1 under os x imac:PyYAML-3.08 jjdenis$ python setup.py install running install running build running build_py creating build creating build/lib.macosx-10.5-i386-2.5 creating build/lib.macosx-10.5-i386-2.5/yaml copying lib/yaml/__init__.py -> build/lib.macosx-10.5-i386-2.5/yaml copying lib/yaml/composer.py -> build/lib.macosx-10.5-i386-2.5/yaml copying lib/yaml/constructor.py -> build/lib.macosx-10.5-i386-2.5/yaml copying lib/yaml/cyaml.py -> build/lib.macosx-10.5-i386-2.5/yaml copying lib/yaml/dumper.py -> build/lib.macosx-10.5-i386-2.5/yaml copying lib/yaml/emitter.py -> build/lib.macosx-10.5-i386-2.5/yaml copying lib/yaml/error.py -> build/lib.macosx-10.5-i386-2.5/yaml copying lib/yaml/events.py -> build/lib.macosx-10.5-i386-2.5/yaml copying lib/yaml/loader.py -> build/lib.macosx-10.5-i386-2.5/yaml copying lib/yaml/nodes.py -> build/lib.macosx-10.5-i386-2.5/yaml copying lib/yaml/parser.py -> build/lib.macosx-10.5-i386-2.5/yaml copying lib/yaml/reader.py -> build/lib.macosx-10.5-i386-2.5/yaml copying lib/yaml/representer.py -> build/lib.macosx-10.5-i386-2.5/yaml copying lib/yaml/resolver.py -> build/lib.macosx-10.5-i386-2.5/yaml copying lib/yaml/scanner.py -> build/lib.macosx-10.5-i386-2.5/yaml copying lib/yaml/serializer.py -> build/lib.macosx-10.5-i386-2.5/yaml copying lib/yaml/tokens.py -> build/lib.macosx-10.5-i386-2.5/yaml running build_ext creating build/temp.macosx-10.5-i386-2.5 checking if libyaml is compilable gcc -fno-strict-aliasing -Wno-long-double -no-cpp-precomp -mno-fused-madd -fno-common -dynamic -DNDEBUG -g -Os -Wall -Wstrict-prototypes -DMACOSX -I/usr/include/ffi -DENABLE_DTRACE -arch i386 -arch ppc -pipe -I/System/Library/Frameworks/Python.framework/Versions/2.5/include/python2.5 -c build/temp.macosx-10.5-i386-2.5/check_libyaml.c -o build/temp.macosx-10.5-i386-2.5/check_libyaml.o unable to execute gcc: No such file or directory libyaml is not found or a compiler error: forcing --without-libyaml (if libyaml is installed correctly, you may need to specify the option --include-dirs or uncomment and modify the parameter include_dirs in setup.cfg) running install_lib running install_egg_info Removing /Library/Python/2.5/site-packages/PyYAML-3.08-py2.5.egg-info Writing /Library/Python/2.5/site-packages/PyYAML-3.08-py2.5.egg-info imac:PyYAML-3.08 jjdenis$ python3 Python 3.1 (r31:73578, Jun 27 2009, 21:49:46) [GCC 4.0.1 (Apple Inc. build 5493)] on darwin Type "help", "copyright", "credits" or "license" for more information. >>> import yaml Traceback (most recent call last): File "<stdin>", line 1, in <module> ImportError: No module named yaml >>> quit() imac:PyYAML-3.08 jjdenis$ python2.5 Python 2.5.1 (r251:54863, Feb 6 2009, 19:02:12) [GCC 4.0.1 (Apple Inc. build 5465)] on darwin Type "help", "copyright", "credits" or "license" for more information. >>> import yaml >>> quit() imac:PyYAML-3.08 jjdenis$ |
|||
| #58 | wontfix | Is there a way?? | xi | john.mcginnis@… |
| Description |
a = yaml.load("""
name: John
number: 111
""")
print a
{'name': 'John', 'number': 111}
ok so if I do: print yaml.dump(a)
{name: John, number: 11}
and print yaml.dump(a, default_flow_style=False) name: John number: 111 My question is, is there a variable in the code that could make the block style the default output without having to reference the style preference all the time? |
|||
Note: See TracQuery
for help on using queries.
