[issue2735] range: lean and mean

Benjamin Peterson report at bugs.python.org
Fri May 2 04:49:29 CEST 2008


Benjamin Peterson <musiccomposition at gmail.com> added the comment:

On Thu, May 1, 2008 at 9:38 PM, Alexander Belopolsky
<report at bugs.python.org> wrote:
>
>  Alexander Belopolsky <belopolsky at users.sourceforge.net> added the comment:
>
>  The start/step/stop getter functions should INCREF return values.  Is
>  there a reason not to adapt slice implementation:

No, its much simpler.

Added file: http://bugs.python.org/file10155/range_lean_and_mean2.patch

__________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue2735>
__________________________________
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: range_lean_and_mean2.patch
URL: <http://mail.python.org/pipermail/python-bugs-list/attachments/20080502/a06da838/attachment-0001.txt>


More information about the Python-bugs-list mailing list