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 BreamoreBoy
Recipients BreamoreBoy, rndblnch
Date 2014-01-21.22:04:01
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1390341842.09.0.782181045024.issue20335@psf.upfronthosting.co.za>
In-reply-to
Content
This shows the report to be wrong, you either have to pass an iterable of ints or a single int.  Even the title is wrong, it doesn't accept more than one argument if the first one isn't a string, it raises a TypeError.

Python 3.3.3 (v3.3.3:c3896275c0f6, Nov 18 2013, 21:18:40) [MSC v.1600 32 bit (Intel)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> help(bytes)
Help on class bytes in module builtins:

class bytes(object)
 |  bytes(iterable_of_ints) -> bytes
 |  bytes(string, encoding[, errors]) -> bytes
 |  bytes(bytes_or_buffer) -> immutable copy of bytes_or_buffer
 |  bytes(int) -> bytes object of size given by the parameter initialized with null bytes
 |  bytes() -> empty bytes object
History
Date User Action Args
2014-01-21 22:04:02BreamoreBoysetrecipients: + BreamoreBoy, rndblnch
2014-01-21 22:04:02BreamoreBoysetmessageid: <1390341842.09.0.782181045024.issue20335@psf.upfronthosting.co.za>
2014-01-21 22:04:02BreamoreBoylinkissue20335 messages
2014-01-21 22:04:01BreamoreBoycreate