commit | 50d756e262fc6804336e5a624aee0d885a195973 | [log] [tgz] |
---|---|---|
author | Guido van Rossum <guido@python.org> | Sat Aug 18 17:43:36 2001 +0000 |
committer | Guido van Rossum <guido@python.org> | Sat Aug 18 17:43:36 2001 +0000 |
tree | 09a1397adc797a5cf28bbb5c4cdbd82a899bcdf7 | |
parent | b60f2d0977323d50e521718301f962ed40e88d69 [diff] |
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.