Issue738880

classification
Title: slice object type is different from python to jython
Type: Severity: normal
Components: Core Versions:
Milestone:
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: Nosy List: cupdike, fwierzbicki, pedronis
Priority: normal Keywords:

Created on 2003-05-16.17:39:29 by cupdike, last changed 2005-10-31.18:37:38 by fwierzbicki.

Messages
msg843 (view) Author: Clark Updike (cupdike) Date: 2003-05-16.17:39:29
Jython 2.1 on java1.3.1_07 (JIT: null)
Type "copyright", "credits" or "license" for more 
information.

>>> from operator import isSequenceType
>>> isSequenceType(slice(0,0,0))

1

ActivePython 2.1.1, build 212 (ActiveState)
Python 2.1.1 (#20, Jul 26 2001, 11:38:51) [MSC 32 bit 
(Intel)] on win32
Type "copyright", "credits" or "license" for more 
information.

>>> from operator import isSequenceType
>>> isSequenceType(slice(0,0,0))

0
msg844 (view) Author: Clark Updike (cupdike) Date: 2003-05-21.20:17:21
Logged In: YES 
user_id=775310

Ype posted the patch 
http://sourceforge.net/tracker/index.php?
func=detail&aid=738903&group_id=12867&atid=312867
msg845 (view) Author: Samuele Pedroni (pedronis) Date: 2003-05-21.22:40:57
Logged In: YES 
user_id=61408

a bug is fixed, when a fix has been committed.
msg846 (view) Author: Frank Wierzbicki (fwierzbicki) Date: 2005-10-31.18:37:38
Logged In: YES 
user_id=193969

A fix is committed now.  This works in 2.2.
History
Date User Action Args
2003-05-16 17:39:29cupdikecreate