Message3931

Author pb
Recipients pb
Date 2008-12-16.05:48:12
SpamBayes Score 0.0016766695
Marked as misclassified No
Message-id <1229406494.3.0.890530112761.issue1205@psf.upfronthosting.co.za>
In-reply-to
Content
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).
History
Date User Action Args
2008-12-16 05:48:15pbsetrecipients: + pb
2008-12-16 05:48:14pbsetmessageid: <1229406494.3.0.890530112761.issue1205@psf.upfronthosting.co.za>
2008-12-16 05:48:14pblinkissue1205 messages
2008-12-16 05:48:13pbcreate