Conversation
Refs #858.
Resolves #859.
Resolves #861.
Hey! In [xonsh project](https://xon.sh/) we want to avoid misunderstandings between POSIX and Python shells. So it's the guideline to use xonsh default prompt_end `@` instead of `$`. Thanks!
Resolves #865.
Fixes #335. Appended a rule to .gitattributes to force GitHub Linguist to treat `*.coco` files as Python.
Resolves #866. - Add native t-string (template string) support for Python 3.14+ - Backport t-strings to Python 3.10+ using tstr library - T-strings compile to native syntax on 3.14+, _coconut.tstr.t() on older versions - Add py310_spec_test and py314_test for template string verification - Update grammar to recognize t"..." and rt"..." string prefixes 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Resolves #857. - Comment out Coconut v2 dict pattern warning (extra keys behavior) - Make v3 power in impl call warning strict-only (f x ** y) - Make v3 set pattern warning strict-only (extra items behavior) 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Remove deprecated pypy-3.6, pypy-3.7, pypy-3.8 (no longer supported) - Add pypy-3.11 (current main PyPy version) - Keep pypy-2.7, pypy-3.9, pypy-3.10 for compatibility 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Resolves #878. - Replace ambiguous "in-between X and Y" wording with explicit "directly below X and above Y" language - Add links to precedence table and related operator sections - Updated sections: Pipes, Function Composition, None Coalescing 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
MyPy was taking ~5 hours to type-check the coconut-prelude package, causing Python 3.9/3.10/3.11 CI jobs to timeout or run extremely long. Without --mypy, the test completes in under a minute. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
|
Thank you thank you very much. I am so elated and excited for this release and the effort from the coconut contributors. |
This file contains hidden or 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 the documentation for more information on all of the features listed below.
Language Features
Add t-string support #866: Coconut now supports Python 3.14 template strings (
t"..."syntax). On Python 3.14+, native t-string syntax is used. On Python 3.10-3.13, Coconut compiles t-strings to use thetstrbackport library.Add memoize.RECURSIVE #858: Added
memoize.RECURSIVEoption that allows unbounded cache growth during recursive calls but automatically clears the cache after the outermost call completes. This prevents memory leaks while still supporting recursive functions effectively.Compiler Features
Support Python 3.14 #873: Full support for Python 3.14, including compatibility with the new interpreter changes and native t-string support.
Make all strict errors/warnings disableable by noqa comments #860: All strict mode errors and warnings can now be suppressed using
# NOQAcomments, giving users more control over which checks to enforce.Remove warnings for new Coconut v3 syntax #857: Removed v2 compatibility warnings and made v3 syntax warnings strict-only. Users will no longer see warnings about v2/v3 syntax differences during normal compilation.
Bugfixes
Cannot use Coconut 3.1.2 as Jupyter kernel with default installation #865: Fixed Jupyter kernel installation and registration issues.
IsADirectoryError while importing module #861: Fixed package import hook to properly handle directory imports.
Semicolon for suppress the output in jupyterlab raises CoconutSyntaxWarning #859: Trailing semicolons to suppress output in Jupyter no longer trigger syntax warnings.
CoconutInternalException: no array literal separators #867, None-coalescing does not recognise unicode operator #868: Fixed parsing issues with array literals and unicode none-coalescing operator (
??).