Message161414
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.) |
|
Date |
User |
Action |
Args |
2012-05-23 14:39:51 | larry | set | recipients:
+ larry, brett.cannon |
2012-05-23 14:39:51 | larry | set | messageid: <1337783991.34.0.187633914161.issue14889@psf.upfronthosting.co.za> |
2012-05-23 14:39:50 | larry | link | issue14889 messages |
2012-05-23 14:39:50 | larry | create | |
|