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 marnanel
Recipients marnanel
Date 2018-10-10.19:55:15
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1539201315.54.0.788709270274.issue34955@psf.upfronthosting.co.za>
In-reply-to
Content
bytes() doesn't accept a dict as parameter. If you attempt to pass one, you receive a TypeError with the baffling message "'str' object cannot be interpreted as an integer".

 >> bytes({'a':1})
 Traceback (most recent call last):
   File "<stdin>", line 1, in <module>
 TypeError: 'str' object cannot be interpreted as an integer
History
Date User Action Args
2018-10-10 19:55:15marnanelsetrecipients: + marnanel
2018-10-10 19:55:15marnanelsetmessageid: <1539201315.54.0.788709270274.issue34955@psf.upfronthosting.co.za>
2018-10-10 19:55:15marnanellinkissue34955 messages
2018-10-10 19:55:15marnanelcreate