Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Go over Breakpoint[] documentation ... #1193

Merged
merged 7 commits into from
Nov 28, 2024
Merged

Go over Breakpoint[] documentation ... #1193

merged 7 commits into from
Nov 28, 2024

Conversation

rocky
Copy link
Member

@rocky rocky commented Nov 27, 2024

and add a docstring to disabled_breakpoint

Add a docstring to disabled_breakpoint
@rocky rocky force-pushed the Breakpoint-tweaks branch from 2008e34 to 114d7f0 Compare November 27, 2024 22:19
Copy link
Contributor

@mmatera mmatera left a comment

Choose a reason for hiding this comment

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

LGTM

rocky and others added 2 commits November 27, 2024 18:53
Co-authored-by: Aravindh Krishnamoorthy <[email protected]>
Co-authored-by: Aravindh Krishnamoorthy <[email protected]>
Note that setting '$MaxLengthIntStringConversion' has an effect only on Python 3.11 and later;
Pyston 2.x however ignores this.
Mathics3 also provides "breakpoint" handler 'mathics.disabled_breakpoint' which \
notes that a 'Breakpoint[]' was encountered, but does not stop inside Python. \
Copy link
Collaborator

Choose a reason for hiding this comment

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

Suggested change
notes that a 'Breakpoint[]' was encountered, but does not stop inside Python. \
notes that a breakpoint was encountered, but does not stop inside Python. \

The breakpoint could be, e.g., reached due to a break debugger command as well.

Copy link
Member Author

Choose a reason for hiding this comment

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

A debugger break would not trigger this. Adding to the source code breakpoint() would though. I will revise.

@aravindh-krishnamoorthy
Copy link
Collaborator

Looks good to me as well...

rocky and others added 3 commits November 27, 2024 20:18
@rocky
Copy link
Member Author

rocky commented Nov 28, 2024

It looks like TimeConstrained[] is still flaky on MacOSX. Merging in anyway. I hope we can get this flakiness removed.

If there are further changes to the text or behavior feel free to continue this in a new PR. Thanks everyone for the reviews.

@rocky rocky merged commit 8e49189 into master Nov 28, 2024
12 of 13 checks passed
@rocky rocky deleted the Breakpoint-tweaks branch November 28, 2024 02:09
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.

3 participants