From: SourceForge.net <no...@so...> - 2005-10-21 20:13:34
|
Bugs item #1334468, was opened at 2005-10-21 16:13 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=112867&aid=1334468&group_id=12867 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: Core Group: None Status: Open Resolution: None Priority: 5 Submitted By: Clark Updike (cupdike) Assigned to: Nobody/Anonymous (nobody) Summary: isSequenceType returns true for dictionary Initial Comment: jython should return false when testing if a dictionary is a sequence type, but it returns true. Cpython 2.1-2.4 return false. jython 2.1 and 2.2a2: Jython 2.1 on java1.5.0_02 (JIT: null) Type "copyright", "credits" or "license" for more information. >>> from operator import isSequenceType >>> isSequenceType({}) 1 cpython 2.1-2.4: Python 2.1.1 (#20, Jul 20 2001, 01:19:29) [MSC 32 bit (Intel)] on win32 Type "copyright", "credits" or "license" for more information. >>> from operator import isSequenceType >>> isSequenceType({}) 0 This may be related to bug 738880 (which was fixed): http://sourceforge.net/tracker/?group_id=12867&atid=112867&func=detail&aid=738880 ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=112867&aid=1334468&group_id=12867 |