New submission from Justin Hodder <[email protected]>:
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 <[email protected]>
<https://bugs.python.org/issue39175>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com