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

ENVHash doesn't behave like I'd expect it to #4643

Closed
staticfloat opened this issue Oct 26, 2013 · 2 comments
Closed

ENVHash doesn't behave like I'd expect it to #4643

staticfloat opened this issue Oct 26, 2013 · 2 comments

Comments

@staticfloat
Copy link
Sponsor Member

keys(ENV) just spits out all the keys as one big object. Things like keys(ENV)[0] don't work either. Additionally, I can't do things like filter with an EnvHash to search for environment variables that may or may not have been set.

@JeffBezanson
Copy link
Sponsor Member

KeyIterator is not going to be any more numerically-indexable than dictionaries are.

filter could work of course; it just doesn't know what kind of object to return. I suppose it should be a Dict{ByteString,ByteString}.

@staticfloat
Copy link
Sponsor Member Author

Thanks Jeff!

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

2 participants