Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tuple support #393

Open
braingram opened this issue Jul 14, 2023 · 1 comment
Open

tuple support #393

braingram opened this issue Jul 14, 2023 · 1 comment

Comments

@braingram
Copy link
Contributor

Should a tuple-like immuntable sequence be added to the ASDF standard?

See:

@braingram
Copy link
Contributor Author

To provide a few points for discussion.

What is commonly done for other YAML serializers

If we see ASDF as fancy yaml, it appears that the default behavior for pyyaml and ruyaml is to convert tuples to lists (using their 'SafeDumper's).

Are there other common python yaml libraries?

FWIW: json also converts tuples to lists

How might the introduction of mutable vs immutable types effect other languages

Is there any concept of mutability in YAML?

We are aware of IDL ASDF support. Does IDL have an immutable sequence type (perhaps STRUCTURE?)?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant