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 larry
Recipients brett.cannon, larry
Date 2012-05-23.14:39:50
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1337783991.34.0.187633914161.issue14889@psf.upfronthosting.co.za>
In-reply-to
Content
If you pass a valid PyUnicodeObject into PyUnicode_AsObject(), it incref's the original object and returns it.

If you pass a valid PyBytesObject into PyBytes_AsObject()... it fails.

I assert that in the PyBytes_AsObject() should behave like PyUnicode_AsObject() when faced with an identity transformation.

(Brett: I tagged you because I saw your name in the comments, so I figured you were a good candidate.)
History
Date User Action Args
2012-05-23 14:39:51larrysetrecipients: + larry, brett.cannon
2012-05-23 14:39:51larrysetmessageid: <1337783991.34.0.187633914161.issue14889@psf.upfronthosting.co.za>
2012-05-23 14:39:50larrylinkissue14889 messages
2012-05-23 14:39:50larrycreate