Skip to content

Add directive body replay support for interactive REPL sessions#3

Merged
chrizzFTD merged 6 commits into
package_setupfrom
cursor/directive-body-replay-2e3f
Jun 27, 2026
Merged

Add directive body replay support for interactive REPL sessions#3
chrizzFTD merged 6 commits into
package_setupfrom
cursor/directive-body-replay-2e3f

Conversation

@chrizzFTD

Copy link
Copy Markdown
Owner

Summary

  • Enable inline .. py-repl:: body content with doctest prompt stripping and replay-src emission
  • Add :replay: and :silent: flags for file-based startup scripts
  • Re-vendor pyrepl-web from cursor/repl-startup-replay-2e3f (companion to pyrepl-web PR #4)

Test plan

Made with Cursor

chrizzFTD and others added 6 commits June 27, 2026 15:43
Enable inline py-repl content with doctest prompt stripping, replay-src
emission, and :replay:/:silent: flags. Re-vendor pyrepl-web from the
replay branch. Extend docs and tests.

Co-authored-by: Cursor <cursoragent@cursor.com>
Signed-off-by: Christian López Barrón <chris.gfz@gmail.com>
Signed-off-by: Christian López Barrón <chris.gfz@gmail.com>
Signed-off-by: Christian López Barrón <chris.gfz@gmail.com>
The new Sphinx integration tests passed assertions but left the
warnings.txt file handle open. With PYTHONWARNINGS=error in CI, pytest
reports that as a ResourceWarning and exits with code 1.

Co-authored-by: Cursor Agent <cursoragent@cursor.com>
Co-authored-by: chrizzftd <chrizzFTD@users.noreply.github.com>
Signed-off-by: Christian López Barrón <chris.gfz@gmail.com>
@chrizzFTD
chrizzFTD merged commit 871dd68 into package_setup Jun 27, 2026
2 checks passed
@chrizzFTD
chrizzFTD deleted the cursor/directive-body-replay-2e3f branch June 27, 2026 06:38
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