Message1996

Author rajesh_battala
Recipients
Date 2007-10-23.07:19:13
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
The mismatch is found when we use the following code in both of jython and cpython. Please see below...

In Jython :- 
>>> import sys
>>> range(10)[::sys.maxint - 9]
[0]
>>> range(10)[::sys.maxint - 1]
[]

In CPython :-
>>> import sys
>>> range(10)[::sys.maxint - 9]
[0]
>>> range(10)[::sys.maxint - 1]
[0]

History
Date User Action Args
2008-02-20 17:18:05adminlinkissue1818353 messages
2008-02-20 17:18:05admincreate