Shreyan Avigyan <shreyan.avig...@gmail.com> added the comment:
One solution to these would be making a copy of the parameter using copy.deepcopy and then performing operations on that copy. (The downside of this solution is that it will change the behavior.) ---------- nosy: +shreyanavigyan _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue44018> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com