[issue6861] bytearray.__new__ doesn't subclass

Benjamin Peterson report at bugs.python.org
Tue Sep 8 04:16:05 CEST 2009


Benjamin Peterson <benjamin at python.org> added the comment:

That's because bytearray is mutable, so it uses __init__ instead of __new__.

----------
nosy: +benjamin.peterson
resolution:  -> invalid
status: open -> closed

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue6861>
_______________________________________


More information about the Python-bugs-list mailing list