Closed neel004 closed 1 month ago
Describe the bug When an argument is initialized with an empty list in python, it retains previous values it has accumulated while executing the method.
To Reproduce Steps to reproduce the behavior: Link to code: https://github.com/python-gsoc/python-blogs/blob/master/aldryn_people/cms_toolbars.py#L47:
Additional context Link for reference: https://web.archive.org/web/20200221224620id_/http://effbot.org/zone/default-values.htm
Can I work on this issue?
Closing in preparation for archiving this repo.
Describe the bug When an argument is initialized with an empty list in python, it retains previous values it has accumulated while executing the method.
To Reproduce Steps to reproduce the behavior: Link to code: https://github.com/python-gsoc/python-blogs/blob/master/aldryn_people/cms_toolbars.py#L47:
Additional context Link for reference: https://web.archive.org/web/20200221224620id_/http://effbot.org/zone/default-values.htm