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 <>
`bytes` is a list of integers.  Passing a single integer to `bytes()`, as in:

   --> bytes(7)

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.
Date User Action Args
2014-03-12 10:29:57ethan.furmansetrecipients: + ethan.furman
2014-03-12 10:29:57ethan.furmansetmessageid: <>
2014-03-12 10:29:57ethan.furmanlinkissue20895 messages
2014-03-12 10:29:56ethan.furmancreate