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

3.11 regression (?) with nested expressions being expanded #1135

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

jippi
Copy link

@jippi jippi commented Mar 10, 2025

I noticed a possible regression while upgrading to 3.11 in jippi/dottie#217 - this behavior was not present in 3.10 which i upgraded from

The expansion of [${UNSET:-${BAR-defaultValue}}] used to result in [] but now result in [defaultValue]

In zsh/bash running these echo's give the following output, which I think Expand should match

$ BAR=""; echo "[${UNSET:-${BAR-defaultValue}}]"
[]

$ BAR="set"; echo "[${UNSET:-${BAR-defaultValue}}]"
[set]

NOTE

This is not a fix, but a reproducible test case to show-case the issue

@jippi jippi changed the title Test if expand work as expected 3.11 regression with nested expressions being expanded Mar 10, 2025
@jippi jippi changed the title 3.11 regression with nested expressions being expanded 3.11 regression (?) with nested expressions being expanded Mar 10, 2025
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.

1 participant