-
Notifications
You must be signed in to change notification settings - Fork 12
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
Use GAP library functions to handle errors (DONT MERGE) #56
Conversation
This needs gap-system/gap#2530 to be merged. |
ebd0c6e
to
3a1cd13
Compare
Codecov Report
@@ Coverage Diff @@
## master #56 +/- ##
==========================================
+ Coverage 60.7% 64.29% +3.58%
==========================================
Files 9 8 -1
Lines 817 689 -128
==========================================
- Hits 496 443 -53
+ Misses 321 246 -75
|
3a1cd13
to
1dfe63e
Compare
Codecov Report
@@ Coverage Diff @@
## master #56 +/- ##
========================================
- Coverage 60.7% 50% -10.71%
========================================
Files 9 9
Lines 817 694 -123
========================================
- Hits 496 347 -149
- Misses 321 347 +26
|
Now that the GAP error functions can redirect their output to a chosen stream, the previously used hack is no longer needed. This commit provides a function JupyterOnBreak which prints a traceback and then skips the break loop by calling JUMP_TO_CATCH. When the jupyter kernel runs OnBreak is overwritten with JupyterOnBreak. To use this GAP is started without the -T option. Fixes gap-packages#38.
1dfe63e
to
36aeb0a
Compare
Now that the GAP error functions can redirect their output to a This commit provides a function JupyterOnBreak which prints a To use this GAP is started without the -T option. |
This needs gap-system/gap#2529 and gap-system/gap#2530 to be merged in order to work. |
This is replaced by #70. |
Now that the GAP error functions can redirect their output to achosen stream, the previously used hack is no longer needed.
Also defines the variable IsRunningJupyterKernel when inside thekernel loop. This variable is used by the library to know when
to print the traceback although BreakOnError = false.
See new commit message below.
Fixes #38.