This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author remi.lapeyre
Recipients Maks Bleo, remi.lapeyre
Date 2020-04-17.10:59:25
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1587121165.34.0.143936923209.issue40310@roundup.psfhosted.org>
In-reply-to
Content
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.
History
Date User Action Args
2020-04-17 10:59:25remi.lapeyresetrecipients: + remi.lapeyre, Maks Bleo
2020-04-17 10:59:25remi.lapeyresetmessageid: <1587121165.34.0.143936923209.issue40310@roundup.psfhosted.org>
2020-04-17 10:59:25remi.lapeyrelinkissue40310 messages
2020-04-17 10:59:25remi.lapeyrecreate