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 scoder
Recipients alexandre.vassalotti, bhy, lemburg, loewis, scoder
Date 2008-06-06.08:38:08
SpamBayes Score 0.0020923535
Marked as misclassified No
Message-id <1212741490.33.0.139236008086.issue2799@psf.upfronthosting.co.za>
In-reply-to
Content
While PyUnicode_AsStringAndSize() may be a better solution if the length
is required, PyUnicode_AsString is enough() when it is not required. So
I don't buy that argument. Since there are dedicated UTF-8 encoding
functions, both functions are pure convenience anyway.

Embedded \0 bytes can bite you, but that's completely unrelated to the
issue discussed here.

I wouldn't oppose renaming the function, but I don't see why it should go.
History
Date User Action Args
2008-06-06 08:38:10scodersetspambayes_score: 0.00209235 -> 0.0020923535
recipients: + scoder, lemburg, loewis, alexandre.vassalotti, bhy
2008-06-06 08:38:10scodersetspambayes_score: 0.00209235 -> 0.00209235
messageid: <1212741490.33.0.139236008086.issue2799@psf.upfronthosting.co.za>
2008-06-06 08:38:09scoderlinkissue2799 messages
2008-06-06 08:38:08scodercreate