Skip to content

Frankie v1.22.4 β€” patch release πŸ›

Latest

Choose a tag to compare

@atejada atejada released this 25 Nov 03:41

Python-keyword names no longer crash

Using a name such as pass, class or global as a for loop variable, a
destructuring target (a, b = ... or {x, y} = hash), a lambda parameter or
a rescue variable produced invalid Python and failed at runtime with
"invalid syntax". All of these now use the same keyword-safe renaming as
ordinary assignments and def parameters, so this works:

for pass in 1..100
  puts pass
end

The browser Playground bundle has been regenerated to match.

This is a bug-fix-only release under the language freeze for The Book of
Frankie. There is no new syntax and there are no stdlib or stitch changes.

Install / upgrade

brew update && brew upgrade frankie
frankiec version    # Frankie v1.22.4