Message366655
I don't think that it will overwrite element from for loop. In my mind it
was a bug.
Thank you.
On Fri, Apr 17, 2020, 1:59 PM Rémi Lapeyre <report@bugs.python.org> wrote:
>
> Rémi Lapeyre <remi.lapeyre@henki.fr> added the comment:
>
> Hi Maks, when you report a bug please write a minimal example that show
> the bug so we don't have to read the whole application (
> https://stackoverflow.com/help/minimal-reproducible-example).
>
> I think in this case that the issue is that you overrride model on line 65
> `model = car[1]` hence the error on the next iteration, model has been
> replaced.
>
> This bug tracker is for bugs in the Python interpreter, for help in using
> Python please use the python-help mailing list or a forum like
> StackOverflow.
>
> ----------
> nosy: +remi.lapeyre
>
> _______________________________________
> Python tracker <report@bugs.python.org>
> <https://bugs.python.org/issue40310>
> _______________________________________
> |
|
Date |
User |
Action |
Args |
2020-04-17 11:03:13 | Maks Bleo | set | recipients:
+ Maks Bleo, remi.lapeyre |
2020-04-17 11:03:13 | Maks Bleo | link | issue40310 messages |
2020-04-17 11:03:13 | Maks Bleo | create | |
|