Issue1042
Created on 2008-05-27.00:43:16 by fwierzbicki, last changed 2008-09-13.21:06:08 by fwierzbicki.
msg3208 (view) |
Author: Frank Wierzbicki (fwierzbicki) |
Date: 2008-05-27.00:43:15 |
|
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"
|
msg3527 (view) |
Author: Jim Baker (zyasoft) |
Date: 2008-09-13.19:26:59 |
|
CPython test_class apparently no longer tests for this. It's likely not
an issue we have to fix.
|
msg3537 (view) |
Author: Frank Wierzbicki (fwierzbicki) |
Date: 2008-09-13.21:06:08 |
|
Jim Baker: sounds good to me! - closing.
|
|
Date |
User |
Action |
Args |
2008-09-13 21:06:08 | fwierzbicki | set | status: open -> closed resolution: wont fix messages:
+ msg3537 |
2008-09-13 19:27:00 | zyasoft | set | nosy:
+ zyasoft messages:
+ msg3527 |
2008-05-27 01:14:11 | fwierzbicki | set | keywords:
+ test failure causes |
2008-05-27 00:43:16 | fwierzbicki | create | |
|