Skip to content

gh-130698: Convert sys.ps1 and sys.ps2 to strings before PyREPL use - #158828

Open
edvilme wants to merge 2 commits into
python:mainfrom
edvilme:pyrepl-str
Open

edvilme wants to merge 2 commits into
python:mainfrom
edvilme:pyrepl-str

Conversation

@edvilme

@edvilme edvilme commented Oct 5, 2026 •

Copy link
Copy Markdown
Contributor

Users may be able to assign non-string, but string representable values to sys.ps1 or sys.ps2, but these should be converted to their string representations before use by PyREPL rendering.

Otherwise, for users assigning non-string objects, or using tools like VSCode, the REPL overflows with errors.

…REPL use

Users may be able to assign non-string, but string representable values to ps1, but these should be converted to their string representations before use by PyREPL rendering.
@edvilme edvilme changed the title gh-158827: Convert sys.ps1 and sys.ps2 to strings before PyREPL use gh-130698: Convert sys.ps1 and sys.ps2 to strings before PyREPL use Oct 5, 2026
@edvilme edvilme changed the title gh-130698: Convert sys.ps1 and sys.ps2 to strings before PyREPL use gh-158827: Convert sys.ps1 and sys.ps2 to strings before PyREPL use Oct 5, 2026
@edvilme edvilme closed this Oct 5, 2026
@edvilme edvilme reopened this Oct 5, 2026
@edvilme edvilme changed the title gh-158827: Convert sys.ps1 and sys.ps2 to strings before PyREPL use gh-130698: Convert sys.ps1 and sys.ps2 to strings before PyREPL use Oct 5, 2026
@sergey-miryanov

Copy link
Copy Markdown
Contributor

It would be good to fix original issue as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants