New submission from Daniel Stoinov <daniel.stoi...@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 <rep...@bugs.python.org>
<https://bugs.python.org/issue35175>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to