[issue39963] Subclassing slice objects

2020-03-20 Thread Terry J. Reedy
Change by Terry J. Reedy : -- stage: -> test needed type: -> enhancement versions: +Python 3.9 ___ Python tracker ___ ___ Python-b

[issue39963] Subclassing slice objects

2020-03-14 Thread Raymond Hettinger
Change by Raymond Hettinger : -- nosy: +rhettinger ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue39963] Subclassing slice objects

2020-03-13 Thread Mario de OOurtzborun
New submission from Mario de OOurtzborun : Is there any reason why slice objects aren't subclassable? I want a mutable slice object, but there is no way to create one that will work with lists or tuples. And __index__ method requires to return int. I want to prepare a git merge request about