Message70529
| Author |
loewis |
| Recipients |
amaury.forgeotdarc, barry, benjamin.peterson, donmez, giampaolo.rodola, gpolo, loewis, pitrou, teoliphant |
| Date |
2008年07月31日.20:14:53 |
| SpamBayes Score |
0.0015286074 |
| Marked as misclassified |
No |
| Message-id |
<48921D3B.8070301@v.loewis.de> |
| In-reply-to |
<1217516672.31.0.492306652616.issue3139@psf.upfronthosting.co.za> |
| Content |
> But t# uses bf_getcharbuffer(), which does not seem to lock anything.
Indeed. I think we can safely drop support for passing buffer objects
into t# which have getbuffer/releasebuffer, so the check for
releasebuffer being NULL should be added to t#.
I think the bytearray object should refuse to implement getcharbuffer,
anyway.
> I wonder if this can lead to the same kind of problems, for example when
> calling file_write with a binary file.
It should be a text file to cause problems, right? |
|