[New-bugs-announce] [issue39175] Funkness with issubset
Justin Hodder
report at bugs.python.org
Tue Dec 31 20:11:33 EST 2019
New submission from Justin Hodder <draltaicaphone at gmail.com>:
line 59,"print(x2,"avalMana",set(avalMana.keys()))" prints:"{('A', 'B')} avalMana {'A', ('A', 'B'), ('A', 'C')}"
line 60," if x2.issubset(set(avalMana.keys())):" is False
change line 60 to " if x2.issubset(set(list(avalMana.keys()))):" and it works as expected.
----------
components: Interpreter Core
files: PythonDoesntWorks.py
messages: 359137
nosy: Justin Hodder
priority: normal
severity: normal
status: open
title: Funkness with issubset
type: behavior
versions: Python 3.8
Added file: https://bugs.python.org/file48814/PythonDoesntWorks.py
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue39175>
_______________________________________
More information about the New-bugs-announce
mailing list