Message139686
| Author |
techtonik |
| Recipients |
amaury.forgeotdarc, docs@python, techtonik |
| Date |
2011年07月03日.12:24:43 |
| SpamBayes Score |
0.00032312004 |
| Marked as misclassified |
No |
| Message-id |
<1309695884.1.0.382537823756.issue12476@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
ISTM that this code works ok.
data = open('data.raw', 'rb').read()
ret = checkBuffer(data, len(data))
You need to make sure that checkBuffer doesn't try to modify memory though. For mutable memory blocks use create_string_buffer(). |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2011年07月03日 12:24:44 | techtonik | set | recipients:
+ techtonik, amaury.forgeotdarc, docs@python |
| 2011年07月03日 12:24:44 | techtonik | set | messageid: <1309695884.1.0.382537823756.issue12476@psf.upfronthosting.co.za> |
| 2011年07月03日 12:24:43 | techtonik | link | issue12476 messages |
| 2011年07月03日 12:24:43 | techtonik | create |
|