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 amaury.forgeotdarc
Recipients amaury.forgeotdarc, barry, benjamin.peterson, donmez, giampaolo.rodola, gpolo, loewis, pitrou, teoliphant
Date 2008-08-01.17:53:48
SpamBayes Score 0.0011832186
Marked as misclassified No
Message-id <1217613229.32.0.270035641585.issue3139@psf.upfronthosting.co.za>
In-reply-to
Content
Martin, 

There is a small issue with the patch: in the "w#" format handler,
bf_getwritebuffer(arg, 0, res) is wrong. The third argument should be
&res (there is a compilation warning on windows),

And a few lines after, in the "if (*format == '#')" block, there should
be a line like 
     *p = res;
otherwise the user code never sees the buffer...
History
Date User Action Args
2008-08-01 17:53:49amaury.forgeotdarcsetrecipients: + amaury.forgeotdarc, loewis, barry, teoliphant, pitrou, giampaolo.rodola, donmez, benjamin.peterson, gpolo
2008-08-01 17:53:49amaury.forgeotdarcsetmessageid: <1217613229.32.0.270035641585.issue3139@psf.upfronthosting.co.za>
2008-08-01 17:53:48amaury.forgeotdarclinkissue3139 messages
2008-08-01 17:53:48amaury.forgeotdarccreate