[issue39110] It seems that list() changes the value of the parameter

ctarn report at bugs.python.org
Fri Dec 20 10:38:19 EST 2019


ctarn <i at ctarn.io> added the comment:

OK, I mean... when I call `a = list(b)`, list() changes `b` unexpectedly, not `a != b` in this case. That is why I replace the left operand with `_`.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue39110>
_______________________________________


More information about the Python-bugs-list mailing list