Skip to content

Upgrade Python v2 language and python.org-style site - #9

Merged
gefrus112 merged 1 commit into
mainfrom
arena/40a06760-pythonv2
Oct 22, 2026
Merged

gefrus112 merged 1 commit into
mainfrom
arena/40a06760-pythonv2

Conversation

@gefrus112

Copy link
Copy Markdown
Owner

Summary

  • add cross-runtime structured error handling with try, optional named catch, finally, and raise
  • expose caught errors as maps with kind, message, line, and trace; guarantee cleanup across errors, returns, and loop jumps
  • add parity-tested iterable builtins: sum, enumerate, zip, all, and any
  • update the REPL, browser runtime copy, VS Code grammar/snippets, language reference, runnable tutorial, field guide, Playground starter, and example source
  • restructure the homepage with python.org-style task links, Latest News and Upcoming lists, success-story treatment, accessible skip links, and responsive navigation
  • refresh visible release/test details and keep Python v2 1.1 “Sudbury” branding

Validation

  • python3 -m unittest discover -s tests -t . — 112 passed
  • Python byte-compilation for runtimes, engine, and tests
  • Node syntax checks for all website/runtime scripts
  • Python/JavaScript runtime-copy comparison
  • HTML local asset, anchor, duplicate-ID, and editor-JSON audit
  • isolated wheel build/install smoke: version, structured recovery, doctor JSON, and PyHope check
  • git diff --check

Co-authored-by: arena-agent <297053741+arena-agent@users.noreply.github.com>
@coderabbitai

coderabbitai Bot commented Oct 22, 2026

Copy link
Copy Markdown

Review in Change Stack →

Note

Currently processing new changes in this PR. This may take a few minutes, please wait...

⚙️ Run configuration
  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 262f65e5-6e26-4e13-8f68-9558ae279e3d
📥 Commits

Reviewing files that changed from the base of the PR and between d7496c3 and 19e0f3a.

📒 Files selected for processing: 25
  • README.md
  • docs.html
  • docs/LANGUAGE.md
  • download.html
  • editors/vscode/snippets/pyv2.json
  • editors/vscode/syntaxes/pyv2.tmLanguage.json
  • examples/error_recovery.pyv2
  • games.html
  • guide.html
  • index.html
  • main.js
  • playground.html
  • playground.js
  • pyv2.js
  • pyv2/assets/pyv2.js
  • pyv2/cli.py
  • pyv2/interpreter.py
  • pyv2/lexer.py
  • pyv2/parser.py
  • site.js
  • style.css
  • tests/test_games_site.py
  • tests/test_parity.py
  • tests/test_pyv2.py
  • tutorial.html
+----------------------------+
| Bunny-grade bug detection. |
+----------------------------+
  \
   \     /)/)
        ( '')
        /  |
      o(___)
✨ Finishing Touches
📝 Generate docstrings
  • Commit to this branch
  • Create a new PR
🧪 Generate unit tests (beta)
  • Commit to this branch
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Comment @coderabbitai help to get the list of available commands.

@gefrus112
gefrus112 merged commit bb998d4 into main Oct 22, 2026
1 of 2 checks passed
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