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 Frostburn
Recipients Frostburn
Date 2008-09-01.16:03:42
SpamBayes Score 0.023386605
Marked as misclassified No
Message-id <1220285023.36.0.49129522463.issue3753@psf.upfronthosting.co.za>
In-reply-to
Content
I was expecting that the API function PyArg_ParseTuple(args, "y#:foo",
&cp, &size) would accept a bytearray and implicitly convert it to bytes.
Currently it throws the error:
TypeError: foo() argument 1 must be bytes or read-only buffer, not bytearray
History
Date User Action Args
2008-09-01 16:03:43Frostburnsetrecipients: + Frostburn
2008-09-01 16:03:43Frostburnsetmessageid: <1220285023.36.0.49129522463.issue3753@psf.upfronthosting.co.za>
2008-09-01 16:03:42Frostburnlinkissue3753 messages
2008-09-01 16:03:42Frostburncreate