[Python-checkins] CVS: python/dist/src/Modules socketmodule.c,1.135,1.136

Andrew Kuchling akuchlin@mems-exchange.org
Tue, 6 Feb 2001 18:07:23 -0500


On Tue, Feb 06, 2001 at 02:58:07PM -0800, A.M. Kuchling wrote:
>!      if (!PyArg_ParseTuple(args, "s|i:write", &data, &len))
>!      if (!PyArg_ParseTuple(args, "s#|i:write", &data, &len))

Hm... actually, this patch isn't correct after all.  The |i meant you
could specify an optional integer to write out only a partial chunk of
the string; why not just slice it?  Since the SSL code isn't
documented, I'm tempted to just rip out the |i.

--amk