Message3931
List comprehension seems to work differently on python 2.5.2 versus
jython2.5b0.
With python2.5 the attached program gives
---
1
[(1, (0, 1), (0, 1))]
---
whereas with jython2.5b0 it gives
---
6
[(1, (0, 1), (0, 1)), (8, (0, 2), (0, 1)), (27, (0, 3), (0, 1)), (9, (1,
2), (0, 1)), (28, (1, 3), (0, 1)), (35, (2, 3), (0, 1))]
---
obviously getting some if of computation wrong (works with jython2.2
though). |
|
Date |
User |
Action |
Args |
2008-12-16 05:48:15 | pb | set | recipients:
+ pb |
2008-12-16 05:48:14 | pb | set | messageid: <1229406494.3.0.890530112761.issue1205@psf.upfronthosting.co.za> |
2008-12-16 05:48:14 | pb | link | issue1205 messages |
2008-12-16 05:48:13 | pb | create | |
|