[Python-Dev] [development doc updates]

Michael Hudson mwh@python.net
03 Jul 2002 13:03:49 +0100


Gary Herron <gherron@islandtraining.com> writes:

> Fred,
> 
> Reading the "What's New in Python 2.3" section, I find the following
> sentence in "5 Extended Slices":
> 
>   Ever since Python 1.4 the slice syntax has supported a third
>   ``Stride'' argument, but the builtin sequence types have not
>   supported this feature (it was initially included at the behest of
>   the developers of the Numerical Python package). This changes with
>   Python 2.3.
> 
> This is ambiguous.  

Unfinished is closer to the truth.

> Exactly *HOW* does it change with Python 2.3?  Does the stride
> argument go away, 

No.

> or do builtin sequence types now support the
> stride argument? 

Yes.

> If I'd followed this newsgroup more carefully, I'd probably know the
> answer.

The section will be suitably fleshed out by the time of the first 2.3
alpha (I sincerely hope).

> The paragraph about PendingDeprecationWarning, which follows the above
> quote, probably provides a clue,

Nope.

> but it seems out of place, having nothing to do with slices.

This is because there's a commented out section break in the source.
I'll uncomment it.  There probably needs to be some editorial work
done on the whole document wrt. section ordering, whether things count
as sections or subsections, etc.  But not by me.

Cheers,
M.

-- 
  Those who have deviant punctuation desires should take care of their
  own perverted needs.                  -- Erik Naggum, comp.lang.lisp