[New-bugs-announce] [issue35175] Builtin function all() is handling dict() types in a weird way.

Daniel Stoinov report at bugs.python.org
Tue Nov 6 07:58:12 EST 2018


New submission from Daniel Stoinov <daniel.stoinov at gmail.com>:

When a dictionary is passed to all() function, it iterates the keys instead of the values.

----------
files: all-dict-example.py
messages: 329354
nosy: stnv
priority: normal
severity: normal
status: open
title: Builtin function all() is handling dict() types in a weird way.
type: behavior
versions: Python 2.7, Python 3.4, Python 3.5, Python 3.6, Python 3.7, Python 3.8
Added file: https://bugs.python.org/file47912/all-dict-example.py

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue35175>
_______________________________________


More information about the New-bugs-announce mailing list