]> granicus.if.org Git - python/commit
Fix SF bug #443600:
authorGuido van Rossum <guido@python.org>
Sat, 18 Aug 2001 17:43:36 +0000 (17:43 +0000)
committerGuido van Rossum <guido@python.org>
Sat, 18 Aug 2001 17:43:36 +0000 (17:43 +0000)
commit50d756e262fc6804336e5a624aee0d885a195973
tree09a1397adc797a5cf28bbb5c4cdbd82a899bcdf7
parentb60f2d0977323d50e521718301f962ed40e88d69
Fix SF bug #443600:

Change to get/set/del slice operations so that if the object doesn't
support slicing, *or* if either of the slice arguments is not an int
or long, we construct a slice object and call the get/set/del item
operation instead.  This makes it possible to design classes that
support slice arguments of non-integral types.
Python/ceval.c