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
py3: fix gapdir fallback #28456
Comments
Author: Antonio Rojas |
comment:2
Fix On sage-the-distro GAP_ROOT_DIR points to an existing dir, so this code path is not being doctested. New commits:
|
Commit: |
comment:3
Why not get rid of the
instead? Or this should be faster since we can stop after the first match:
(taken from https://stackoverflow.com/questions/2361426/get-the-first-item-from-an-iterable-that-matches-a-condition) |
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:5
This looks good to me. |
Reviewer: John Palmieri |
This comment has been minimized.
This comment has been minimized.
Changed branch from u/arojas/py3__fix_gapdir_fallback to |
Fix
TypeError: 'filter' object is not subscriptable
when GAP_ROOT_DIR doesn't exist.On sage-the-distro GAP_ROOT_DIR points to an existing dir, so this code path is not being doctested.
CC: @fchapoton @jhpalmieri
Component: python3
Author: Antonio Rojas
Branch/Commit:
350a84e
Reviewer: John Palmieri
Issue created by migration from https://trac.sagemath.org/ticket/28456
The text was updated successfully, but these errors were encountered: