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 rhettinger
Recipients
Date 2007-05-18.23:51:44
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
Unfortunately, this is a feature, not a bug.  The relevant code is in Python/ceval.c apply_slice().  Calls to s[a:b] get pre-processed before being handed-off to s.__getslice__.  This behavior has been around so long, that it is almost certain that there is a good body of existing code that relies on the behavior.
History
Date User Action Args
2007-08-23 14:53:34adminlinkissue1712236 messages
2007-08-23 14:53:34admincreate