-
Notifications
You must be signed in to change notification settings - Fork 520
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
pyyaml should detect duplicate keys and report an error. #41
Comments
… should catch this but doesn't yaml/pyyaml#41
… should catch this but doesn't yaml/pyyaml#41
… should catch this but doesn't yaml/pyyaml#41
… should catch this but doesn't yaml/pyyaml#41
Hi, Is there any progress on this? PyYAML silently accepting duplicate mapping keys lets people file issues every now and then because they try new configs and forget commenting out old keys and then wonder why the software they configure doesn't behave as expected... If it's really needed for some internal functions of PyYAML, maybe accepting duplicate keys could be made an opt-out feature? Best regards |
See also #165, for some reason all the discussion happened there. The problem to solve currently is how to implement it while still supporting merge keys. |
(NOTE: This is a migration of pyyaml.org's ticket #128, see potential solutions there)
The text was updated successfully, but these errors were encountered: