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 verigak
Recipients theller, verigak
Date 2009-08-16.21:32:51
SpamBayes Score 2.097557e-05
Marked as misclassified No
Message-id <1250458373.38.0.665694741005.issue6714@psf.upfronthosting.co.za>
In-reply-to
Content
A demonstration:

>>> buf = create_string_buffer('______')
>>> memmove(buf, 'SPAM', 4)
614584
>>> buf.raw
'SPAM__\x00'

>>> buf = create_string_buffer('______')
>>> memmove(buf, u'SPAM', 4)
614672
>>> buf.raw
'S\x00\x00\x00__\x00'

FWIW memmove fails in Python 3.0 too.
History
Date User Action Args
2009-08-16 21:32:53verigaksetrecipients: + verigak, theller
2009-08-16 21:32:53verigaksetmessageid: <1250458373.38.0.665694741005.issue6714@psf.upfronthosting.co.za>
2009-08-16 21:32:52verigaklinkissue6714 messages
2009-08-16 21:32:51verigakcreate