New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
suggestion for handling incompatible mandatory features (like experimental warnings) #14975
Comments
From perl-diddler@tlinx.orgCreated by perl-diddler@tlinx.orgI was installing a new distro package that had some They both served as different examples of how to announce new, Both were in the 'ddd-gui' a gui for ddd that drives GDB and DBX with First problem I noted was a bunch of X errors -- and a suggestion Warning: Cannot convert string "-*-verdana-bold-r-*-*-*-120-*-*-*-*-iso8859-*" to type FontStruct Sure enough, I went into the gui's "edit-preferences" and clicked it off In a second case -- a different class of warning caused by an addon-wrapper UTF-8 charmap detected. Switching off UTF-8 as ddd has problems with it. See Sure enough... I looked at what used to be a binary for 'ddd' and found # The wrapper script to switch off UTF-8 locales when running ddd The script recognized a "-x" switch to turn off the wrapper effects on If you think that warning is annoying, you can turn it off by executing $ touch ~/.ddd/suse_no_utf8_warning in a shell. Along the lines of both of those solutions for demoting features to Also, don't take my using the specific changes to lexical "$_" as meaning Nevertheless, when such incompatibilities arise, since they are For the one product I encounted above, they used the existence However, making it a way to give the user a way to block Does that seem reasonable? Perl Info
|
From zefram@fysh.orgThere is already a per-host configuration file. However, use of any such -zefram |
The RT System itself - Status changed from 'new' to 'open' |
From @eserteDana Thu, 14 Dec 2017 22:09:54 -0800, zefram@fysh.org reče:
What about an alternative suggestion for the requestor's problems? Regards, |
From zefram@fysh.orgslaven@rezic.de via RT wrote:
The original post wasn't coherent enough for me to discern a specific -zefram |
From @eserteDana Thu, 14 Dec 2017 22:54:24 -0800, zefram@fysh.org reče:
It is a general problem: how users should deal with incompatibilities of newer perl versions? What's p5p's suggestion? Stick to older perls (e.g. via perlbrew)? /etc/perl/sitecustomize.pl exists on some platforms (e.g. Debian, or the feature may be added to a self-compiled perl), but should it really be used to mask incompatibilities, and how? Regards, |
From zefram@fysh.orgslaven@rezic.de via RT wrote:
We limit incompatibilities, and document those that arise in perldelta. -zefram |
From @eserteDana Thu, 14 Dec 2017 23:21:47 -0800, zefram@fysh.org reče:
I am not sure. I read "we should deprecate it" too often on the mailing list.
This is just documentation, but not a solution for users (not authors!) encountering such incompatibilities. Regards, |
From @xsawyerxOn 12/15/2017 09:34 AM, slaven@rezic.de via RT wrote:
I'm a bit wary of making any statement here since some people seem to There is never value in deprecating in and of itself. It is always a We normally deprecate when we need to remove incorrect behavior and bugs The rise in seeing "we should deprecate it" is likely due to the fact I would rather view these as "There is so much in the way of so much." The only possible answers to "I don't like any deprecations" are either I want to stress that this should always be countered with the price of
Perhaps a question here is "Is there a way we could raise these warnings |
From @eserteSawyer X <xsawyerx@gmail.com> writes:
I started to read p5p more closely recently and was mildly shocked about
My fear of a defined deprecation process is that now deprecations will
It would be interesting how many introduced backward incompatibilities
Often such changes are sold as some kind of "progress", be it for For me as an author this means I have to think hard about really using
I don't see a practical way to distinguish developers from users. Regards, -- Berlin Perl Mongers - http://berlin.pm.org |
From perl-diddler@tlinx.orgslaven@rezic.de via RT wrote:
Indeed, my _system_'s perl is currently at 5.16.3, since moving higher |
From @cpansproutOn Sun, 17 Dec 2017 14:00:28 -0800, slaven@rezic.de wrote:
Hear, hear! -- Father Chrysostomos |
From @xsawyerxOn 12/17/2017 11:59 PM, Slaven Rezic wrote:
Those are always open for review. If you see a deprecation that has a If you can prove that the price to accomplish what we want is too great A common objection to deprecating is the position that we should not An example of how problematic this is was the change of dot-in-inc. We The language must serve multiple people and while it is wonderful if
This is quite unfair. We cannot argue against not having a deprecation Having no deprecation process would mean we simply decide something is Having a proper deprecation process means we at least stand by a
I'm not aware of any statistics on this.
I beg to differ. CPAN itself is a dumping ground for code. We cannot - Can you please provide me with one breaking change that had no reason to it? Furthermore, just the fact that the term "deprecation" is seen more
As an author, you should make sure your code works. Especially if you A different situation though: Let's say you wrote something that used a
Think of environments. You are developing something using a tool. The In closing, "I'm seeing the word 'deprecation' more" is not a convincing |
Migrated from rt.perl.org#126314 (status was 'open')
Searchable as RT126314$
The text was updated successfully, but these errors were encountered: