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 terry.reedy
Recipients SilentGhost, coldy028, steven.daprano, terry.reedy
Date 2019-05-10.09:42:52
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1557481372.32.0.160546126162.issue36872@roundup.psfhosted.org>
In-reply-to
Content
Robert, when posting to this tracker by email, please remove the quote of the previous post.  It duplicates the post itself.

I said exactly what I said, which explained why marking the issue for IDLE was a mistake.  (The same error is a weekly occurrence, by beginners, on stackoverflow.com.)

That aside, you are not passing values through or between modules.  You are passing arguments to a function, which is an object separate from both modules.

I ran your code and got the expected error-free output:

Question 5
['i', 't'] s -1

Steven explained the bug in your code which makes the last print act different from what you probably expect.  Reread what he wrote until you understand.  If I do what he suggested you must have done, I get the error you got.
History
Date User Action Args
2019-05-10 09:42:52terry.reedysetrecipients: + terry.reedy, steven.daprano, SilentGhost, coldy028
2019-05-10 09:42:52terry.reedysetmessageid: <1557481372.32.0.160546126162.issue36872@roundup.psfhosted.org>
2019-05-10 09:42:52terry.reedylinkissue36872 messages
2019-05-10 09:42:52terry.reedycreate