Message1903

Author leosoto
Recipients
Date 2007-09-10.19:55:51
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
On current Jython (SVN trunk) slice is not a type:

>>> type(slice)
<type 'builtin_function_or_method'>

This makes harder to test for an instance of slice, because isinstance(x, slice) won't work. 

The workaround (in python code) is:

slice = type(slice(0))




History
Date User Action Args
2008-02-20 17:18:01adminlinkissue1791931 messages
2008-02-20 17:18:01admincreate