Message307220
This is defined behavior. Try searching for "mutable default parameter". For example, here's an old post on it:
http://www.effbot.org/zone/default-values.htm
This isn't related to class vs. instance attributes, but rather the default parameter 'props' being modified. |
|
Date |
User |
Action |
Args |
2017-11-29 11:28:00 | eric.smith | set | recipients:
+ eric.smith, ekarademir |
2017-11-29 11:28:00 | eric.smith | set | messageid: <1511954880.62.0.213398074469.issue32168@psf.upfronthosting.co.za> |
2017-11-29 11:28:00 | eric.smith | link | issue32168 messages |
2017-11-29 11:28:00 | eric.smith | create | |
|