[issue10221] {}.pop('a') raises non-standard KeyError exception

Alexander Belopolsky report at bugs.python.org
Thu Oct 28 18:55:57 CEST 2010


Alexander Belopolsky <belopolsky at users.sourceforge.net> added the comment:

This is the case where fixing an issue is easier than arguing that it is not a bug. :-)  (Changing to "behavior" not because I agree that it is a bug, but for consistency with targeting 2.7)

A (1-line) patch attached.

----------
keywords: +patch
stage: needs patch -> unit test needed
type: feature request -> behavior
Added file: http://bugs.python.org/file19400/issue10221.diff

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue10221>
_______________________________________


More information about the Python-bugs-list mailing list