Message 319322 - Python tracker

Message319322

Author xgyan
Recipients serhiy.storchaka, xgyan
Date 2018-06-11.17:23:13
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1528737794.16.0.592728768989.issue33835@psf.upfronthosting.co.za>
In-reply-to
Content
Hi Serhiy,

Thanks for your reply. However, the issue I reported was not about sharing the default value. I understand that the parameter L would keep its value [1] from function f's first run, and used it in the second run to get [1, 2].

My point is that the variable v1 only got involved in f's first run. It should keep the result [1] since then. The second calling v2=f(2) is irrelevant to v1, therefore, v1's content shouldn't be changed. v1 should be independent from f's later activities. Please let me know if this makes sense.
History
Date User Action Args
2018-06-11 17:23:14xgyansetrecipients: + xgyan, serhiy.storchaka
2018-06-11 17:23:14xgyansetmessageid: <1528737794.16.0.592728768989.issue33835@psf.upfronthosting.co.za>
2018-06-11 17:23:14xgyanlinkissue33835 messages
2018-06-11 17:23:13xgyancreate