This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug python/13339] type.array(X) creates array of X+1 items
- From: "tromey at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Wed, 02 Nov 2011 16:26:09 +0000
- Subject: [Bug python/13339] type.array(X) creates array of X+1 items
- Auto-submitted: auto-generated
- References: <bug-13339-4717@http.sourceware.org/bugzilla/>
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.