Ticket #91 (closed enhancement: worksforme)

Opened 2 months ago

Last modified 2 months ago

emit no anchors and aliases

Reported by: Andrey Assigned to: xi
Priority: normal Component: pyyaml
Severity: normal Keywords:
Cc:

Description

Hi, is it possible to avoid using anchors and aliases? So to output

[1, 1]

as

- 1
- 1

and not as

- &id1 1
- *id1

Attachments

Change History

09/26/08 17:49:17 changed by xi

  • status changed from new to closed.
  • resolution set to worksforme.

It works for me:

>>> import yaml
>>> print yaml.dump([1,1], default_flow_style=False)
- 1
- 1

Could you post a code snippet that produces the output with aliases?


Add/Change #91 (emit no anchors and aliases)




Change Properties
Action