Skip to content

Conversation

@iBug
Copy link

@iBug iBug commented Nov 7, 2025

During my debugging and implementation of #25521, I find a descriptive __repr__() for the custom PS1 object very helpful, so this PR comes as an addition for #25521.

@anthonykim1 anthonykim1 self-assigned this Nov 10, 2025
@anthonykim1 anthonykim1 added the debt Covers everything internal: CI, testing, refactoring of the codebase, etc. label Nov 10, 2025
@anthonykim1 anthonykim1 added this to the November 2025 milestone Nov 10, 2025
Co-authored-by: Anthony Kim <[email protected]>
@anthonykim1 anthonykim1 modified the milestones: November 2025, December / January 2026 Dec 5, 2025
@eleanorjboyd
Copy link
Member

@anthonykim1 lmk when you need my review here

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adds a __repr__ method to the PS1 class in pythonrc.py to improve debugging experience during development and implementation work related to issue #25521.

Key Changes:

  • Added __repr__ method to the PS1 class that returns a descriptive string representation

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@anthonykim1 anthonykim1 merged commit 5109c79 into microsoft:main Jan 5, 2026
53 checks passed
@iBug iBug deleted the ps1-repr branch January 5, 2026 07:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area-repl debt Covers everything internal: CI, testing, refactoring of the codebase, etc.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants