Message148027
| Author |
vstinner |
| Recipients |
ezio.melotti, loewis, pitrou, python-dev, vstinner |
| Date |
2011年11月21日.02:09:16 |
| SpamBayes Score |
0.00071787153 |
| Marked as misclassified |
No |
| Message-id |
<1321841357.14.0.579519553254.issue13441@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
> strxfrm(buffer, "a0円", 100) returns 21 (bytes) but only 2 bytes
> are written ("\x01\x00"). The next bytes are unchanged.
Woops, it was a bug in my program. I attached the fixed version. The correct program writes:
----
strxfrm: len=21
0x01
0x01
0x63
0x01
0x01
0x01
0x01
0x01
0x03
0x01
0x01
0x01
0x01
0x01
0x03
0x01
0x01
0x01
0x01
0x01
0x01
wcsxfrm: len=7
U+1010163
U+1010101
U+1010103
U+1010101
U+1010103
U+1010101
U+1010101
---- |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2011年11月21日 02:09:17 | vstinner | set | recipients:
+ vstinner, loewis, pitrou, ezio.melotti, python-dev |
| 2011年11月21日 02:09:17 | vstinner | set | messageid: <1321841357.14.0.579519553254.issue13441@psf.upfronthosting.co.za> |
| 2011年11月21日 02:09:16 | vstinner | link | issue13441 messages |
| 2011年11月21日 02:09:16 | vstinner | create |
|