Serhiy Storchaka <storchaka+cpyt...@gmail.com> added the comment:

Even if make ast.Slice a (virtual) subclass of ast.slice it will not help much, 
because we cannot do it for ast.Index and ast.ExtSlice. ast.ExtSlice is not 
replaced with ast.Tuple, and any node type can now be used instead of 
ast.Index. The code that does isinstance() or issublass() check for ast.slice 
or one of its subcasses is now broken.

----------
resolution:  -> wont fix
stage:  -> resolved
status: open -> closed

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue40430>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to