homepage

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 ethan.furman
Date 2014年03月12日.10:29:56
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1394620197.12.0.249138601017.issue20895@psf.upfronthosting.co.za>
In-reply-to
Content
`bytes` is a list of integers. Passing a single integer to `bytes()`, as in:
 --> bytes(7)
 b'\x00\x00\x00\x00\x00\x00\x00'
results in a bytes object containing that many zeroes.
I propose that this behavior be deprecated for eventual removal, and a class method be created to take its place.
History
Date User Action Args
2014年03月12日 10:29:57ethan.furmansetrecipients: + ethan.furman
2014年03月12日 10:29:57ethan.furmansetmessageid: <1394620197.12.0.249138601017.issue20895@psf.upfronthosting.co.za>
2014年03月12日 10:29:57ethan.furmanlinkissue20895 messages
2014年03月12日 10:29:56ethan.furmancreate

AltStyle によって変換されたページ (->オリジナル) /