[issue41301] Assignment operation of list is not working as expected

2020-07-15 Thread Steven D'Aprano
New submission from Steven D'Aprano : Sorry Yashwanthbarad, this isn't a bug, you expect the wrong result. Augmented assignment for lists is documented to be the same as calling the extend method, which means your AppenedFuncShortHandOperator function modifies the argument list in-place. The

[issue41301] Assignment operation of list is not working as expected

2020-07-15 Thread Yashwanth Barad
Change by Yashwanth Barad : -- components: Windows files: List_assignment_in_functions.py nosy: paul.moore, steve.dower, tim.golden, yashwanthba...@gmail.com, zach.ware priority: normal severity: normal status: open title: Assignment operation of list is not working as expected type: be