[issue25016] defaultdict's pop gives a KeyError

2015-09-07 Thread Chase Albert

New submission from Chase Albert:

`defaultdict(list).pop(1)` raises a KeyError, this is not what I expected (I 
expected an empty list).

--
components: Library (Lib)
messages: 250080
nosy: rob.anyone
priority: normal
severity: normal
status: open
title: defaultdict's pop gives a KeyError
type: behavior
versions: Python 2.7, Python 3.4

___
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue25016>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue13423] Ranges cannot be meaningfully compared for equality or hashed

2011-11-18 Thread Chase Albert

New submission from Chase Albert thaoe...@gmail.com:

My expectation was that range(2,5) == range(2,5), and that they should hash the 
same. This is not the case.

--
messages: 147838
nosy: rob.anyone
priority: normal
severity: normal
status: open
title: Ranges cannot be meaningfully compared for equality or hashed
type: behavior
versions: Python 3.2

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13423
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com