This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author ethan.furman
Recipients Arfrever, barry, bru, eli.bendersky, ethan.furman, facundobatista, iyogeshjoshi, juggernaut, mark.dickinson, pitrou, rhettinger, serhiy.storchaka, skrah, vstinner
Date 2015-03-30.16:02:01
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1427731321.63.0.606134497138.issue23640@psf.upfronthosting.co.za>
In-reply-to
Content
'from_bytes' is a classmethod.  As such, it should return the same type as the class it is called on.  If that wasn't the intent it would be a staticmethod instead.

It is the responsibility of the subclass to override base class behavior, not the other way around.
History
Date User Action Args
2016-05-08 15:50:12ethan.furmansetrecipients: + rhettinger, facundobatista, mark.dickinson, pitrou, vstinner, Arfrever, skrah, juggernaut, iyogeshjoshi
2016-05-08 15:50:12ethan.furmanlinkissue23640 messages
2016-05-07 23:20:48ethan.furmanunlinkissue23640 messages
2015-03-30 16:02:01ethan.furmansetrecipients: + ethan.furman, barry, eli.bendersky, serhiy.storchaka, bru
2015-03-30 16:02:01ethan.furmansetmessageid: <1427731321.63.0.606134497138.issue23640@psf.upfronthosting.co.za>
2015-03-30 16:02:01ethan.furmanlinkissue23640 messages
2015-03-30 16:02:01ethan.furmancreate