[issue39175] Funkness with issubset
Justin Hodder
report at bugs.python.org
Tue Dec 31 20:54:55 EST 2019
Justin Hodder <draltaicaphone at gmail.com> added the comment:
This works:
$ diff PythonDoesntWorks.py HowCanYouPayMana.v3.py
60c60
< if x2.issubset(set(avalMana.keys())):
---
> if x2.issubset(set(list(avalMana.keys()))):
62a63
>
this doesn't work:
$ diff PythonDoesntWorks.py HowCanYouPayMana.v3.py
60c60
< if x2.issubset(set(avalMana.keys())):
---
> if x2.issubset(set(list(avalMana.keys()))):
62a63
> print("cost",cost)
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue39175>
_______________________________________
More information about the Python-bugs-list
mailing list