[Numpy-discussion] Why multiple ellipses?

Sasha ndarray at mac.com
Sat Feb 25 10:14:05 CST 2006


On 2/25/06, Paul Barrett <pebarrett at gmail.com> wrote:
> ...
> On 2/24/06, Travis Oliphant <oliphant at ee.byu.edu> wrote:
> > ...
> > The rule is that only the first ellipsis (from left to right) is used
> > and any others are just another spelling of ':'.
> > ...
>
> This might be a good time to change this behavior, since I've yet to find a
> good reason for keeping it.  Maybe we can depricate it until version 1.0.
>
I am very much supporting deprecation. The distinction between '...'
and ':' is hard enough to explain without '...' treated as ':' in some
cases.  I would suggest to allow it in 1.0, but issue python
deprecation warning with a text message "repeated ellipses replaced by
:'s".




More information about the Numpy-discussion mailing list