Bugs item #738951, was opened at 2003-05-16 21:14
Message generated for change (Settings changed) made by fwierzbicki
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=112867&aid=738951&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: None
>Group: targeted for 2.2beta1
Status: Open
Resolution: None
>Priority: 6
Submitted By: Clark Updike (cupdike)
Assigned to: Nobody/Anonymous (nobody)
Summary: jython slice behavior differs from python in __getattr__
Initial Comment:
Bug: Jython only forwards slice objects to __getitem__
when __getattr__('__getslice__') raises an AttributeError,
which is different than Python. Python forwards a slice
object to __getitem__ when __getattr__('__getslice__')
raises ANY error.
Jython needs to forward a slice object to __getitem__
whenever __getattr__('__getslice__') raises an error to
be compatible.
Details with Code are attached...
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=112867&aid=738951&group_id=12867
|