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 iitkgp.ketan@gmail.com
Recipients iitkgp.ketan@gmail.com, remi.lapeyre, xtreak
Date 2019-03-11.06:53:16
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1552287196.33.0.355268820107.issue36223@roundup.psfhosted.org>
In-reply-to
Content
Realized this is expected behavior. Slight modification to the existing comments:
Resolution happens in usual order for print(a, pola(a), a).

1) a -> is a reference to the array, resolved as is.
2) pola(a) -> changes the values pointed at by the reference a
3) a -> resolved as the new array values.
History
Date User Action Args
2019-03-11 06:53:16iitkgp.ketan@gmail.comsetrecipients: + iitkgp.ketan@gmail.com, remi.lapeyre, xtreak
2019-03-11 06:53:16iitkgp.ketan@gmail.comsetmessageid: <1552287196.33.0.355268820107.issue36223@roundup.psfhosted.org>
2019-03-11 06:53:16iitkgp.ketan@gmail.comlinkissue36223 messages
2019-03-11 06:53:16iitkgp.ketan@gmail.comcreate