[issue8529] subclassing builtin class (str, unicode, list...) needs to override __getslice__
report at bugs.python.org
Mon Apr 26 00:17:30 CEST 2010
Florent Xicluna <florent.xicluna at gmail.com> added the comment:
OK, but it yields Python 3 DeprecationWarning in the subclass.
And there's no workaround to get rid of the deprecation.
If it is the correct behaviour, maybe some words could be added about subclassing builtin types:
Python tracker <report at bugs.python.org>
More information about the Python-bugs-list