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-October/018276.html below:

[Python-Dev] slicing of structseq objects fails

[Python-Dev] slicing of structseq objects fails [Python-Dev] slicing of structseq objects failsTim Peters tim@zope.com
Tue, 30 Oct 2001 18:54:07 -0500
[/F]
> in structseq_slice,
>
>     for(i = low; i < high; ++i) {
>         PyObject *v = obj->ob_item[i];
>         Py_INCREF(v);
>         PyTuple_SET_ITEM(np, i, v);
>     }
>
> should be:
>
>     for(i = low; i < high; ++i) {
>         PyObject *v = obj->ob_item[i];
>         Py_INCREF(v);
>         PyTuple_SET_ITEM(np, i-low, v);
>     }

Bingo.  First Jack reports a bug here, then /F goes to the trouble of
copying in before-and-after code instead of just checking in the fix.  Does
everyone really hate SourceForge that much <wink>?




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