Amaury Forgeot d'Arc <[EMAIL PROTECTED]> added the comment:

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...

_______________________________________
Python tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue3139>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to