We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
>>> from multidict import CIMultiDict >>> d = CIMultiDict(key='value') >>> d['key'] 'value' >>> d.pop('key') Traceback (most recent call last): File "<stdin>", line 1, in <module> File "multidict/_multidict.pyx", line 385, in multidict._multidict.MultiDict.pop (multidict/_multidict.c:7811) KeyError: 'key'
Calling pop should return 'value' and remove the item from the dict.
pop
'value'
KeyError
Python: Python 3.5.1 (default, Dec 14 2015, 09:21:15) [GCC 4.2.1 Compatible Apple LLVM 7.0.2 (clang-700.1.81)] on darwin
System: Mac OS X El Capitan 10.11.5
multidict version: 1.0.3, installed from PyPI
The text was updated successfully, but these errors were encountered:
Fix CIMultiDict.pop: it is case insensitive now #1
011030a
Fixed by 011030a
Sorry, something went wrong.
No branches or pull requests
Repro Steps
Expected Behaviour
Calling
pop
should return'value'
and remove the item from the dict.Actual Behaviour
KeyError
Environment
Python: Python 3.5.1 (default, Dec 14 2015, 09:21:15) [GCC 4.2.1 Compatible Apple LLVM 7.0.2 (clang-700.1.81)] on darwin
System: Mac OS X El Capitan 10.11.5
multidict version: 1.0.3, installed from PyPI
The text was updated successfully, but these errors were encountered: