New submission from Justin Hodder :
Here a colab that demostrates the bug
https://colab.research.google.com/drive/1OWSEoV7Wx-EBA_2IprNZoASNvXIky3iC?usp=sharing
the following code gives"received an invalid combination of arguments - got
(Tensor, Tensor), but expected one of:"
im
Justin Hodder added the comment:
AttributeError: 'tuple' object has no attribute 'issubset'
And it doesn't explain why it works as expected in Brython.
--
___
Python tracker
<https:
Justin Hodder added the comment:
oh I'm using Python 3.8.1 (32-bit)
3.8.1150.0
on win10
--
___
Python tracker
<https://bugs.python.org/issue39175>
___
___
Justin Hodder 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 HowCanYouPayMa
New submission from Justin Hodder :
line 59,"print(x2,"avalMana",set(avalMana.keys()))" prints:"{('A', 'B')}
avalMana {'A', ('A', 'B'), ('A', 'C')}"
line 60,"if x2.issubset(set(ava