Message3208
| Author | fwierzbicki |
|---|---|
| Recipients | fwierzbicki |
| Date | 2008年05月27日.00:43:15 |
| SpamBayes Score | 0.07269965 |
| Marked as misclassified | No |
| Message-id | <1211848996.18.0.983954648435.issue1042@psf.upfronthosting.co.za> |
| In-reply-to |
| Content | |
|---|---|
test_class.py fails because Jython does not intern strings as
aggressively as CPython. A shorter version of the failure:
#passes CPython, fails Jython
try:
raise AttributeError, "booh"
except AttributeError, x:
assert str(x) is "booh"
#Will pass in both if re-written:
try:
raise AttributeError, intern("booh")
except AttributeError, x:
assert intern(str(x)) is "booh" |
|
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2008年05月27日 00:43:16 | fwierzbicki | set | spambayes_score: 0.0726997 -> 0.07269965 recipients: + fwierzbicki |
| 2008年05月27日 00:43:16 | fwierzbicki | set | spambayes_score: 0.0726997 -> 0.0726997 messageid: <1211848996.18.0.983954648435.issue1042@psf.upfronthosting.co.za> |
| 2008年05月27日 00:43:16 | fwierzbicki | link | issue1042 messages |
| 2008年05月27日 00:43:15 | fwierzbicki | create | |
Supported by Python Software Foundation,
Powered by Roundup