Custom Query (171 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (31 - 33 of 171)

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
Ticket Resolution Summary Owner Reporter
#122 wontfix Bool tag doesn't accept all defined variants xi anonymous

Reported by anonymous, 5 years ago.

Description

One of the examples listed at  http://yaml.org/type/bool.html will fail:

>>> yaml.load('!!bool y')
Traceback (most recent call last):
 ...
KeyError: u'y'
#133 invalid does not compile on os x intel ld not of required architecture xi anonymous

Reported by anonymous, 5 years ago.

Description
tara@zulu ~/source/python/search % sudo easy_install pyyaml
Searching for pyyaml
Reading http://pypi.python.org/simple/pyyaml/
Reading http://pyyaml.org/wiki/PyYAML
Best match: PyYAML 3.08
Downloading http://pyyaml.org/download/pyyaml/PyYAML-3.08.zip
Processing PyYAML-3.08.zip
Running PyYAML-3.08/setup.py -q bdist_egg --dist-dir /tmp/easy_install-lcS9uY/PyYAML-3.08/egg-dist-tmp-bbnJis
ext/_yaml.c: In function ‘__pyx_pf_5_yaml_get_version_string’:
ext/_yaml.c:855: warning: assignment discards qualifiers from pointer target type
ext/_yaml.c: In function ‘__pyx_pf_5_yaml_get_version_string’:
ext/_yaml.c:855: warning: assignment discards qualifiers from pointer target type
ext/_yaml.c: In function ‘__pyx_pf_5_yaml_7CParser___init__’:
ext/_yaml.c:1292: warning: passing argument 2 of ‘yaml_parser_set_input’ from incompatible pointer type
ext/_yaml.c:1485: warning: pointer targets in passing argument 2 of ‘yaml_parser_set_input_string’ differ in signedness
ext/_yaml.c: In function ‘__pyx_pf_5_yaml_7CParser___init__’:
ext/_yaml.c:1292: warning: passing argument 2 of ‘yaml_parser_set_input’ from incompatible pointer type
ext/_yaml.c:1485: warning: pointer targets in passing argument 2 of ‘yaml_parser_set_input_string’ differ in signedness
ext/_yaml.c: In function ‘__pyx_f_5_yaml_7CParser__token_to_object’:
ext/_yaml.c:2800: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness
ext/_yaml.c:2800: warning: pointer targets in passing argument 1 of ‘PyUnicodeUCS2_DecodeUTF8’ differ in signedness
ext/_yaml.c:2812: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness
ext/_yaml.c:2812: warning: pointer targets in passing argument 1 of ‘PyUnicodeUCS2_DecodeUTF8’ differ in signedness
ext/_yaml.c: In function ‘__pyx_f_5_yaml_7CParser__token_to_object’:
ext/_yaml.c:2800: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness
ext/_yaml.c:2800: warning: pointer targets in passing argument 1 of ‘PyUnicodeUCS2_DecodeUTF8’ differ in signedness
ext/_yaml.c:2812: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness
ext/_yaml.c:2812: warning: pointer targets in passing argument 1 of ‘PyUnicodeUCS2_DecodeUTF8’ differ in signedness
ext/_yaml.c:3289: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness
ext/_yaml.c:3289: warning: pointer targets in passing argument 1 of ‘PyUnicodeUCS2_DecodeUTF8’ differ in signedness
ext/_yaml.c:3335: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness
ext/_yaml.c:3335: warning: pointer targets in passing argument 1 of ‘PyUnicodeUCS2_DecodeUTF8’ differ in signedness
ext/_yaml.c:3381: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness
ext/_yaml.c:3381: warning: pointer targets in passing argument 1 of ‘PyUnicodeUCS2_DecodeUTF8’ differ in signedness
ext/_yaml.c:3289: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness
ext/_yaml.c:3289: warning: pointer targets in passing argument 1 of ‘PyUnicodeUCS2_DecodeUTF8’ differ in signedness
ext/_yaml.c:3393: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness
ext/_yaml.c:3335: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness
ext/_yaml.c:3335: warning: pointer targets in passing argument 1 of ‘PyUnicodeUCS2_DecodeUTF8’ differ in signedness
ext/_yaml.c:3393: warning: pointer targets in passing argument 1 of ‘PyUnicodeUCS2_DecodeUTF8’ differ in signedness
ext/_yaml.c:3381: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness
ext/_yaml.c:3381: warning: pointer targets in passing argument 1 of ‘PyUnicodeUCS2_DecodeUTF8’ differ in signedness
ext/_yaml.c:3393: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness
ext/_yaml.c:3393: warning: pointer targets in passing argument 1 of ‘PyUnicodeUCS2_DecodeUTF8’ differ in signedness
ext/_yaml.c:3469: warning: pointer targets in passing argument 1 of ‘PyUnicodeUCS2_DecodeUTF8’ differ in signedness
ext/_yaml.c:3469: warning: pointer targets in passing argument 1 of ‘PyUnicodeUCS2_DecodeUTF8’ differ in signedness
ext/_yaml.c: In function ‘__pyx_f_5_yaml_7CParser__event_to_object’:ext/_yaml.c: In function ‘__pyx_f_5_yaml_7CParser__event_to_object’:
ext/_yaml.c:4844: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness
ext/_yaml.c:4844: warning: pointer targets in passing argument 1 of ‘PyUnicodeUCS2_DecodeUTF8’ differ in signedness
ext/_yaml.c:4856: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness
ext/_yaml.c:4856: warning: pointer targets in passing argument 1 of ‘PyUnicodeUCS2_DecodeUTF8’ differ in signedness

ext/_yaml.c:4844: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness
ext/_yaml.c:4844: warning: pointer targets in passing argument 1 of ‘PyUnicodeUCS2_DecodeUTF8’ differ in signedness
ext/_yaml.c:4856: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness
ext/_yaml.c:4856: warning: pointer targets in passing argument 1 of ‘PyUnicodeUCS2_DecodeUTF8’ differ in signedness
ext/_yaml.c:5007: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness
ext/_yaml.c:5007: warning: pointer targets in passing argument 1 of ‘PyUnicodeUCS2_DecodeUTF8’ differ in signedness
ext/_yaml.c:5074: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness
ext/_yaml.c:5074: warning: pointer targets in passing argument 1 of ‘PyUnicodeUCS2_DecodeUTF8’ differ in signedness
ext/_yaml.c:5110: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness
ext/_yaml.c:5110: warning: pointer targets in passing argument 1 of ‘PyUnicodeUCS2_DecodeUTF8’ differ in signedness
ext/_yaml.c:5125: warning: pointer targets in passing argument 1 of ‘PyUnicodeUCS2_DecodeUTF8’ differ in signedness
ext/_yaml.c:5007: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness
ext/_yaml.c:5007: warning: pointer targets in passing argument 1 of ‘PyUnicodeUCS2_DecodeUTF8’ differ in signedness
ext/_yaml.c:5074: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness
ext/_yaml.c:5074: warning: pointer targets in passing argument 1 of ‘PyUnicodeUCS2_DecodeUTF8’ differ in signedness
ext/_yaml.c:5110: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness
ext/_yaml.c:5110: warning: pointer targets in passing argument 1 of ‘PyUnicodeUCS2_DecodeUTF8’ differ in signedness
ext/_yaml.c:5422: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness
ext/_yaml.c:5422: warning: pointer targets in passing argument 1 of ‘PyUnicodeUCS2_DecodeUTF8’ differ in signedness
ext/_yaml.c:5458: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness
ext/_yaml.c:5458: warning: pointer targets in passing argument 1 of ‘PyUnicodeUCS2_DecodeUTF8’ differ in signedness
ext/_yaml.c:5125: warning: pointer targets in passing argument 1 of ‘PyUnicodeUCS2_DecodeUTF8’ differ in signedness
ext/_yaml.c:5639: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness
ext/_yaml.c:5639: warning: pointer targets in passing argument 1 of ‘PyUnicodeUCS2_DecodeUTF8’ differ in signedness
ext/_yaml.c:5675: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness
ext/_yaml.c:5675: warning: pointer targets in passing argument 1 of ‘PyUnicodeUCS2_DecodeUTF8’ differ in signedness
ext/_yaml.c:5422: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness
ext/_yaml.c:5422: warning: pointer targets in passing argument 1 of ‘PyUnicodeUCS2_DecodeUTF8’ differ in signedness
ext/_yaml.c:5458: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness
ext/_yaml.c:5458: warning: pointer targets in passing argument 1 of ‘PyUnicodeUCS2_DecodeUTF8’ differ in signedness
ext/_yaml.c:5639: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness
ext/_yaml.c:5639: warning: pointer targets in passing argument 1 of ‘PyUnicodeUCS2_DecodeUTF8’ differ in signedness
ext/_yaml.c:5675: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness
ext/_yaml.c:5675: warning: pointer targets in passing argument 1 of ‘PyUnicodeUCS2_DecodeUTF8’ differ in signedness
ext/_yaml.c: In function ‘__pyx_f_5_yaml_7CParser__compose_node’:
ext/_yaml.c:6884: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness
ext/_yaml.c:6884: warning: pointer targets in passing argument 1 of ‘PyUnicodeUCS2_DecodeUTF8’ differ in signedness
ext/_yaml.c:7083: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness
ext/_yaml.c:7083: warning: pointer targets in passing argument 1 of ‘PyUnicodeUCS2_DecodeUTF8’ differ in signedness
ext/_yaml.c:7110: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness
ext/_yaml.c:7110: warning: pointer targets in passing argument 1 of ‘PyUnicodeUCS2_DecodeUTF8’ differ in signedness
ext/_yaml.c:7137: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness
ext/_yaml.c:7137: warning: pointer targets in passing argument 1 of ‘PyUnicodeUCS2_DecodeUTF8’ differ in signedness
ext/_yaml.c: In function ‘__pyx_f_5_yaml_7CParser__compose_node’:
ext/_yaml.c:6884: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness
ext/_yaml.c:6884: warning: pointer targets in passing argument 1 of ‘PyUnicodeUCS2_DecodeUTF8’ differ in signedness
ext/_yaml.c:7083: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness
ext/_yaml.c:7083: warning: pointer targets in passing argument 1 of ‘PyUnicodeUCS2_DecodeUTF8’ differ in signedness
ext/_yaml.c:7110: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness
ext/_yaml.c:7110: warning: pointer targets in passing argument 1 of ‘PyUnicodeUCS2_DecodeUTF8’ differ in signedness
ext/_yaml.c:7137: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness
ext/_yaml.c:7137: warning: pointer targets in passing argument 1 of ‘PyUnicodeUCS2_DecodeUTF8’ differ in signedness
ext/_yaml.c: In function ‘__pyx_f_5_yaml_7CParser__compose_scalar_node’:
ext/_yaml.c:7616: warning: pointer targets in passing argument 1 of ‘PyUnicodeUCS2_DecodeUTF8’ differ in signedness
ext/_yaml.c:7765: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness
ext/_yaml.c:7765: warning: pointer targets in passing argument 1 of ‘PyUnicodeUCS2_DecodeUTF8’ differ in signedness
ext/_yaml.c: In function ‘__pyx_f_5_yaml_7CParser__compose_scalar_node’:
ext/_yaml.c:7616: warning: pointer targets in passing argument 1 of ‘PyUnicodeUCS2_DecodeUTF8’ differ in signedness
ext/_yaml.c: In function ‘__pyx_f_5_yaml_7CParser__compose_sequence_node’:
ext/_yaml.c:8185: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness
ext/_yaml.c:8185: warning: pointer targets in passing argument 1 of ‘PyUnicodeUCS2_DecodeUTF8’ differ in signedness
ext/_yaml.c:7765: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness
ext/_yaml.c:7765: warning: pointer targets in passing argument 1 of ‘PyUnicodeUCS2_DecodeUTF8’ differ in signedness
ext/_yaml.c: In function ‘__pyx_f_5_yaml_7CParser__compose_mapping_node’:
ext/_yaml.c:8692: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness
ext/_yaml.c:8692: warning: pointer targets in passing argument 1 of ‘PyUnicodeUCS2_DecodeUTF8’ differ in signedness
ext/_yaml.c: In function ‘__pyx_f_5_yaml_7CParser__compose_sequence_node’:
ext/_yaml.c:8185: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness
ext/_yaml.c:8185: warning: pointer targets in passing argument 1 of ‘PyUnicodeUCS2_DecodeUTF8’ differ in signedness
ext/_yaml.c: In function ‘__pyx_f_5_yaml_7CParser__compose_mapping_node’:
ext/_yaml.c:8692: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness
ext/_yaml.c:8692: warning: pointer targets in passing argument 1 of ‘PyUnicodeUCS2_DecodeUTF8’ differ in signedness
ext/_yaml.c: In function ‘__pyx_pf_5_yaml_8CEmitter___init__’:
ext/_yaml.c:9642: warning: passing argument 2 of ‘yaml_emitter_set_output’ from incompatible pointer type
ext/_yaml.c: In function ‘__pyx_pf_5_yaml_8CEmitter___init__’:
ext/_yaml.c:9642: warning: passing argument 2 of ‘yaml_emitter_set_output’ from incompatible pointer type
ext/_yaml.c: In function ‘__pyx_f_5_yaml_8CEmitter__object_to_event’:
ext/_yaml.c:10720: warning: pointer targets in assignment differ in signedness
ext/_yaml.c:10824: warning: pointer targets in assignment differ in signedness
ext/_yaml.c:11088: warning: pointer targets in passing argument 2 of ‘yaml_alias_event_initialize’ differ in signedness
ext/_yaml.c:11691: warning: pointer targets in passing argument 2 of ‘yaml_scalar_event_initialize’ differ in signedness
ext/_yaml.c:11691: warning: pointer targets in passing argument 3 of ‘yaml_scalar_event_initialize’ differ in signedness
ext/_yaml.c:11691: warning: pointer targets in passing argument 4 of ‘yaml_scalar_event_initialize’ differ in signedness
ext/_yaml.c: In function ‘__pyx_f_5_yaml_8CEmitter__object_to_event’:
ext/_yaml.c:10720: warning: pointer targets in assignment differ in signedness
ext/_yaml.c:10824: warning: pointer targets in assignment differ in signedness
ext/_yaml.c:11088: warning: pointer targets in passing argument 2 of ‘yaml_alias_event_initialize’ differ in signedness
ext/_yaml.c:12050: warning: pointer targets in passing argument 2 of ‘yaml_sequence_start_event_initialize’ differ in signedness
ext/_yaml.c:12050: warning: pointer targets in passing argument 3 of ‘yaml_sequence_start_event_initialize’ differ in signedness
ext/_yaml.c:12409: warning: pointer targets in passing argument 2 of ‘yaml_mapping_start_event_initialize’ differ in signedness
ext/_yaml.c:12409: warning: pointer targets in passing argument 3 of ‘yaml_mapping_start_event_initialize’ differ in signedness
ext/_yaml.c:11691: warning: pointer targets in passing argument 2 of ‘yaml_scalar_event_initialize’ differ in signedness
ext/_yaml.c:11691: warning: pointer targets in passing argument 3 of ‘yaml_scalar_event_initialize’ differ in signedness
ext/_yaml.c:11691: warning: pointer targets in passing argument 4 of ‘yaml_scalar_event_initialize’ differ in signedness
ext/_yaml.c:12050: warning: pointer targets in passing argument 2 of ‘yaml_sequence_start_event_initialize’ differ in signedness
ext/_yaml.c:12050: warning: pointer targets in passing argument 3 of ‘yaml_sequence_start_event_initialize’ differ in signedness
ext/_yaml.c:12409: warning: pointer targets in passing argument 2 of ‘yaml_mapping_start_event_initialize’ differ in signedness
ext/_yaml.c:12409: warning: pointer targets in passing argument 3 of ‘yaml_mapping_start_event_initialize’ differ in signedness
ext/_yaml.c: In function ‘__pyx_pf_5_yaml_8CEmitter_serialize’:
ext/_yaml.c:13566: warning: pointer targets in assignment differ in signedness
ext/_yaml.c:13670: warning: pointer targets in assignment differ in signedness
ext/_yaml.c: In function ‘__pyx_pf_5_yaml_8CEmitter_serialize’:
ext/_yaml.c:13566: warning: pointer targets in assignment differ in signedness
ext/_yaml.c:13670: warning: pointer targets in assignment differ in signedness
ext/_yaml.c: In function ‘__pyx_f_5_yaml_8CEmitter__serialize_node’:
ext/_yaml.c:14246: warning: pointer targets in passing argument 2 of ‘yaml_alias_event_initialize’ differ in signedness
ext/_yaml.c: In function ‘__pyx_f_5_yaml_8CEmitter__serialize_node’:
ext/_yaml.c:14246: warning: pointer targets in passing argument 2 of ‘yaml_alias_event_initialize’ differ in signedness
ext/_yaml.c:14846: warning: pointer targets in passing argument 2 of ‘yaml_scalar_event_initialize’ differ in signedness
ext/_yaml.c:14846: warning: pointer targets in passing argument 3 of ‘yaml_scalar_event_initialize’ differ in signedness
ext/_yaml.c:14846: warning: pointer targets in passing argument 4 of ‘yaml_scalar_event_initialize’ differ in signedness
ext/_yaml.c:15128: warning: pointer targets in passing argument 2 of ‘yaml_sequence_start_event_initialize’ differ in signedness
ext/_yaml.c:15128: warning: pointer targets in passing argument 3 of ‘yaml_sequence_start_event_initialize’ differ in signedness
ext/_yaml.c:14846: warning: pointer targets in passing argument 2 of ‘yaml_scalar_event_initialize’ differ in signedness
ext/_yaml.c:14846: warning: pointer targets in passing argument 3 of ‘yaml_scalar_event_initialize’ differ in signedness
ext/_yaml.c:14846: warning: pointer targets in passing argument 4 of ‘yaml_scalar_event_initialize’ differ in signedness
ext/_yaml.c:15518: warning: pointer targets in passing argument 2 of ‘yaml_mapping_start_event_initialize’ differ in signedness
ext/_yaml.c:15518: warning: pointer targets in passing argument 3 of ‘yaml_mapping_start_event_initialize’ differ in signedness
ext/_yaml.c:15128: warning: pointer targets in passing argument 2 of ‘yaml_sequence_start_event_initialize’ differ in signedness
ext/_yaml.c:15128: warning: pointer targets in passing argument 3 of ‘yaml_sequence_start_event_initialize’ differ in signedness
ext/_yaml.c:15518: warning: pointer targets in passing argument 2 of ‘yaml_mapping_start_event_initialize’ differ in signedness
ext/_yaml.c:15518: warning: pointer targets in passing argument 3 of ‘yaml_mapping_start_event_initialize’ differ in signedness
ld warning: in /usr/local/lib/libyaml.dylib, file is not of required architecture
zip_safe flag not set; analyzing archive contents...
No eggs found in /tmp/easy_install-lcS9uY/PyYAML-3.08/egg-dist-tmp-bbnJis (setup script problem?)
#167 worksforme Please help saving dict to yaml xi anonymous

Reported by anonymous, 4 years ago.

Description
Hi, is there any way of saving dict to a file in yaml format? I'm using:
----------------------------------------
#!/usr/bin/python
import yaml
y = """
    root:
         - subject1:
            desc: msg1
         - subject2:
            desc: msg2
"""
settings=yaml.load(y)

settings['root'][0]['subject1']['desc'] = "new msg"
print settings

f = open("temp", "w")
f.write(str(settings))
----------------------------------------
but failing miserably, contents of the temp file:
{'root': [{'subject1': {'desc': 'new msg'}}, {'subject2': {'desc': 'msg2'}}]}

expected result:
    root:
         - subject1:
            desc: new msg
         - subject2:
            desc: msg2

Is there anything like yaml.save? Any help greatly appreciated!

Regards,
Tomas
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
Note: See TracQuery for help on using queries.