Serhiy Storchaka <storchaka+cpyt...@gmail.com> added the comment:

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.

----------
nosy: +serhiy.storchaka

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue44379>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to