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

request.header objects don't support the standard keys() method of dicts #46

Merged
merged 1 commit into from
May 27, 2011

Conversation

JNRowe
Copy link
Contributor

@JNRowe JNRowe commented May 27, 2011

UserDict.DictMixin derivatives should support keys(), not __keys__(). I'm guessing it was probably a typo :)

I took a peak at the code when I found the bug, and wonder if it wouldn't just be easier to use the attached code instead? Maybe I'm missing something, but the only problem I can see is if you suddenly decided to start supporting much older versions of Python.

Thanks,

James

@kennethreitz kennethreitz merged commit 5962c0e into psf:develop May 27, 2011
kennethreitz pushed a commit that referenced this pull request May 27, 2011
@zhangyuchun zhangyuchun mentioned this pull request May 3, 2018
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 8, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants