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 ncoghlan
Recipients barry, ethan.furman, josh.r, martin.panter, ncoghlan, r.david.murray, serhiy.storchaka, terry.reedy
Date 2014-03-28.23:39:02
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1396049942.56.0.313671430898.issue20895@psf.upfronthosting.co.za>
In-reply-to
Content
Bringing over Barry's suggestion from the current python-ideas thread [1]:

    @classmethod
    def fill(cls, length, value=0):
        # Creates a bytes of given length with given fill value

[1] https://mail.python.org/pipermail/python-ideas/2014-March/027305.html
History
Date User Action Args
2014-03-28 23:39:02ncoghlansetrecipients: + ncoghlan, barry, terry.reedy, r.david.murray, ethan.furman, martin.panter, serhiy.storchaka, josh.r
2014-03-28 23:39:02ncoghlansetmessageid: <1396049942.56.0.313671430898.issue20895@psf.upfronthosting.co.za>
2014-03-28 23:39:02ncoghlanlinkissue20895 messages
2014-03-28 23:39:02ncoghlancreate