This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author lorgandon
Recipients
Date 2007-05-03.18:20:45
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
When using slicing for a sequence object, with a user defined __getslice__ function, the arguments to __getslice__ are changed.
This does not happen when __getslice__is called directly.
Attached is some code that demonstrates the problem.

I checked it on various versions, including my
"Python 2.5.1 (r251:54863, May  2 2007, 16:56:35)", on my Ubuntu machine.

Although __getslice__ is deprecated, there is still usage of the function, and a fix would be useful.
History
Date User Action Args
2007-08-23 14:53:34adminlinkissue1712236 messages
2007-08-23 14:53:34admincreate