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

Refactor empty argument passing to not require eval #1

Open
wants to merge 2 commits into
base: preserve_empty_strings
Choose a base branch
from

Conversation

TheLartians
Copy link

Thanks again for the PR in the original repository!

Here is my suggestion for an alternative implementation here where we add placeholder strings into empty elements before parsing and removed afterwards. It's definitely not elegant, but I'd like to avoid implementations using eval mechanisms where possible as I consider it a code smell.

Let me know what you think!

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

Successfully merging this pull request may close these issues.

1 participant