Skip to content

Add Python shell command and arithmetic substitution#17

Open
dharmateja03 wants to merge 1 commit into
supermemoryai:mainfrom
dharmateja03:python-shell-substitutions
Open

Add Python shell command and arithmetic substitution#17
dharmateja03 wants to merge 1 commit into
supermemoryai:mainfrom
dharmateja03:python-shell-substitutions

Conversation

@dharmateja03
Copy link
Copy Markdown

Summary

  • add command substitution support for $(...) and backticks in the Python shell
  • add integer arithmetic expansion support for $((...))
  • update find -type f behavior so command substitution works with file lists

Tests

  • PYTHONPATH=. uv run pytest tests/test_shell.py
  • PYTHONPATH=. uv run pytest

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