Message91644
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. |
|
Date |
User |
Action |
Args |
2009-08-16 21:32:53 | verigak | set | recipients:
+ verigak, theller |
2009-08-16 21:32:53 | verigak | set | messageid: <1250458373.38.0.665694741005.issue6714@psf.upfronthosting.co.za> |
2009-08-16 21:32:52 | verigak | link | issue6714 messages |
2009-08-16 21:32:51 | verigak | create | |
|