Skip to content
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

Add the newly-stablised features (try, extra_paired_delimiters) to the :5.40 feature bundle #22141

Merged
merged 1 commit into from Apr 16, 2024

Conversation

leonerd
Copy link
Contributor

@leonerd leonerd commented Apr 11, 2024

I didn't do this at first in #22123 because it seemed a bit more of a user-visible change. But discussing it today on the PSC call suggested it may still have merit.

Written here anyway, so we can discuss if it's a good idea or not.

@johannessen
Copy link
Contributor

As a user, my mental model of feature bundles is that they generally enable all stable features of the given version of Perl. Anything else would surprise me.

So I think this is a good idea.

The impact on correctly-functioning programs is limited to those that have been loading the :5.39 or :5.40 feature bundle, which seems to imply that at most users of v5.39 are affected. How worried should we be about that?

@rwp0
Copy link
Contributor

rwp0 commented Apr 11, 2024

It is a good idea.

Even lesser boilerplates, and more focus on what matters.

The previous PR eliminated adding the experimental, and this one eliminates adding the feature pragma on top of the code (what matters) everytime.

@leonerd leonerd merged commit 49358d7 into Perl:blead Apr 16, 2024
30 checks passed
@leonerd leonerd deleted the new-features-in-5.40-bundle branch April 16, 2024 10:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants