A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2001-February/012714.html below:

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

[Python-Dev] Re: [Python-checkins] CVS: python/dist/src/Modules socketmodule.c,1.135,1.136Andrew 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



 



RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4