Message57500
| Author | neoone |
|---|---|
| Recipients | neoone |
| Date | 2007-11-14.19:10:34 |
| SpamBayes Score | 0.07105216 |
| Marked as misclassified | No |
| Message-id | <1195067435.45.0.396965651814.issue1443@psf.upfronthosting.co.za> |
| In-reply-to |
| Content | |
|---|---|
Initialization of member variables with lists leads to strange behavior. The list object is common to each instance of that class. File attached results in: [] [] <__main__.Proof instance at 0x00BA7120> ['STICKYARRAY'] [] <__main__.Proof instance at 0x00BA7148> So the initialized list a is the same in both instances. Behaviour has been tested on 2.3 and 2.5 |
|
| Files | |
|---|---|
| File name | Uploaded |
| test.py | neoone, 2007-11-14.19:10:35 |
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2007-11-14 19:10:35 | neoone | set | spambayes_score: 0.0710522 -> 0.07105216 recipients: + neoone |
| 2007-11-14 19:10:35 | neoone | set | spambayes_score: 0.0710522 -> 0.0710522 messageid: <1195067435.45.0.396965651814.issue1443@psf.upfronthosting.co.za> |
| 2007-11-14 19:10:35 | neoone | link | issue1443 messages |
| 2007-11-14 19:10:35 | neoone | create | |