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

Steven D'Aprano report at bugs.python.org
Fri Dec 20 10:24:44 EST 2019


Steven D'Aprano <steve+python at pearwood.info> added the comment:

Can you give an example? Something simple, showing what you tried, what you expected, and what happened instead.

This may help: http://sscce.org/

Your bug.py file doesn't ever use the result of calling list(), so how do you know it changes the value of the parameter?

----------
nosy: +steven.daprano

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


More information about the Python-bugs-list mailing list