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 serhiy.storchaka
Recipients Octopi, serhiy.storchaka, terry.reedy
Date 2021-06-10.16:34:52
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1623342892.51.0.199789187265.issue44379@roundup.psfhosted.org>
In-reply-to
Content
It is because you run the code in IDLE.

print(tempList) converts argument to string and write it to sys.stdout. In IDLE sys.stdout is a proxy object which uses RPC to communicate with the IDLE process which should insert the written text in the console text widget. Pickle is used for encoding command and arguments. Here you get a recursion error in pickle because when print(tempList) is executed the recursion depth almost reached the limit.
History
Date User Action Args
2021-06-10 16:34:52serhiy.storchakasetrecipients: + serhiy.storchaka, terry.reedy, Octopi
2021-06-10 16:34:52serhiy.storchakasetmessageid: <1623342892.51.0.199789187265.issue44379@roundup.psfhosted.org>
2021-06-10 16:34:52serhiy.storchakalinkissue44379 messages
2021-06-10 16:34:52serhiy.storchakacreate