Geoffrey Spear <geoffsp...@gmail.com> added the comment:
It's impossible to guess exactly what you did from your vague description instead of actual code, but it may be covered by this FAQ question: https://docs.python.org/3/faq/programming.html#why-are-default-values-shared-between-objects (mutable objects as class rather than instance attributes will display similar behavior. This isn't a bug.) ---------- nosy: +geoffreyspear _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue35339> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com