-
-
Notifications
You must be signed in to change notification settings - Fork 127
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
Release v3.0.3 #776
Merged
Release v3.0.3 #776
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
See Coconut's documentation for more information on all of the features listed below.
New features:
and_then
andand_then_await
built-ins for async function composition.Language changes:
x => x
) as an alternative to skinny arrows (x -> x
) to better distinguish them from type annotations. Skinny arrow lambdas will be deprecated at some later date.f
-string syntax #756: Coconut now fully supports Python 3.12's enhancedf
-string syntax on all targets.f
-strings with no expressions in them (e.g.f"why does this have an f"
will now show a warning by default and an error on--strict
.Compiler changes:
--line-numbers
on by default #761:--line-numbers
are now on by default. Pass--no-line-numbers
to turn them off.coconut-run
.psf
target #767: New--target psf
support for targeting all versions not considered end-of-life.ipykernel install
#765 (thanks @rtbs-dev!): Newcoconut --jupyter install
command for easily installing all Jupyter kernels added as an alternative to the existingcoconut --jupyter
syntax.Bugfixes:
multiset
methods inherited fromCounter
should always return amultiset
when used withmultiset
s #759 (thanks @Starwort!):multiset
methods should now always returnmultiset
s when the arguments are allmultiset
s rather thanCounter
s.xonsh
..coconut_stubs
should only point to the relevant stubs, not whatever foldercoconut
gets installed into #775: Coconut should no longer set theMYPYPATH
to include the entire directory that Coconut has been installed into when running with--mypy
.