public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
From: "tromey at redhat dot com" <sourceware-bugzilla@sourceware.org>
To: gdb-prs@sourceware.org
Subject: [Bug python/13339] type.array(X) creates array of X+1 items
Date: Wed, 02 Nov 2011 16:27:00 -0000	[thread overview]
Message-ID: <bug-13339-4717-xFVxseOxQm@http.sourceware.org/bugzilla/> (raw)
In-Reply-To: <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.


  parent reply	other threads:[~2011-11-02 16:27 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-10-24 21:58 [Bug python/13339] New: " jan.kratochvil at redhat dot com
2011-10-27 10:58 ` [Bug python/13339] " pmuldoon at redhat dot com
2011-10-27 12:04 ` pmuldoon at redhat dot com
2011-10-27 12:38 ` jan.kratochvil at redhat dot com
2011-10-27 12:52 ` pmuldoon at redhat dot com
2011-10-27 13:46 ` jan.kratochvil at redhat dot com
2011-11-02 16:27 ` tromey at redhat dot com [this message]
2011-11-02 16:30 ` jan.kratochvil at redhat dot com
2011-12-02  0:33 ` dje at google dot com
2011-12-02 18:51 ` tromey at redhat dot com
2012-01-09  9:37 ` jan.kratochvil at redhat dot com

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-13339-4717-xFVxseOxQm@http.sourceware.org/bugzilla/ \
    --to=sourceware-bugzilla@sourceware.org \
    --cc=gdb-prs@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).