This is the mail archive of the gdb-prs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug python/13339] type.array(X) creates array of X+1 items


http://sourceware.org/bugzilla/show_bug.cgi?id=13339

--- Comment #6 from Tom Tromey <tromey at redhat dot com> 2011-11-02 16:26:09 UTC ---
Phil asked me to reply on this.
I don't have a particular feeling about it.
I'd support a length= argument for sure.
One idea would be to add a length= keyword argument,
and then make the other form require both arguments.
That way, array(5) would be an error.

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]