Proper way to raise awareness of a bug
H. S. Teoh
hsteoh at qfbox.info
Tue Oct 29 19:18:05 UTC 2024
On Tue, Oct 29, 2024 at 04:59:48PM +0000, Chris Piker via Digitalmars-d-learn wrote:
> Hi D
>
> There is a bug listed in the Bugzilla tracking tool that affected me
> the other day,
> [15526](https://issues.dlang.org/show_bug.cgi?id=15526). It's not a
> big problem, just an unexpected issue and seems easy to fix... by
> someone familiar with Phobos.
>
> What is the etiquette around Bugzilla usage in the community? Would it
> be appropriate or inappropriate to get an account on issues.dlang.org
> just to post a comment on a bug stating that it affect my code.
>
> I haven't done so because I'm presuming you want to keep the issue
> tracker clean and not let the peanut gallery run amok, thus comments
> that don't directly affect a patch are inappropriate. Is that true?
I haven't been involved with Phobos for a while now, so I can't speak
for the current conventions, but at least in the past, it was highly
encouraged to get a bugzilla account and post issues so that the devs
are aware of it. My own take is, if an issue bothers you, make noise
about it, both on bugzilla and here, and that will increase the chances
that somebody will hear and take action. (But caveat emptor: I haven't
been involved for a while now so I don't know if this is still
acceptable.)
As far as this issue itself is concerned, my take on it after a cursory
glance is that it's pretty easy to implement; std.format already has
extended options for printing numbers with separators, so why not have
std.conv provide a similar option as well. But other commentators on
the bugzilla issue seem to have a different opinion, so I don't know.
You'd have to convince the right people that it's worth doing.
If that doesn't go through, or if you just can't be bothered with the
trouble of getting people's attention and then taking the time and
effort to convince them, I'd say just do something like this:
// This should do the job. Put it in a function if you need it
// frequently.
myInput.byChars.filter!(ch => ch != '_').to!int
T
--
Last night, I dreamed about my pet rabbits all lined up like in a parade, and hopping backwards. Then I woke up and realized that it was my receding hare line!
More information about the Digitalmars-d-learn
mailing list