| bb3dd2f6 | 19-Sep-2018 |
Jed Brown <jed@jedbrown.org> |
config: futurize filter()
Returns a list in Python-2, but a filter object in Python-3. There are many places that test isinstance(f, list) to distinguish strings from lists, but a filter object beh
config: futurize filter()
Returns a list in Python-2, but a filter object in Python-3. There are many places that test isinstance(f, list) to distinguish strings from lists, but a filter object behaves like a list for most purposes.
show more ...
|
| 5a21677c | 14-Aug-2018 |
Jed Brown <jed@jedbrown.org> |
config prefix: avoid ad-hoc path substitutions
Use '${PETSC_DIR}' instead of inlining the path in petscvariables. For includes where toStringNoDupes will produce results with a different number of t
config prefix: avoid ad-hoc path substitutions
Use '${PETSC_DIR}' instead of inlining the path in petscvariables. For includes where toStringNoDupes will produce results with a different number of terms, generate PETSC_CC_INCLUDES_INSTALL. This avoids bugs when a substring of the prefix install path matches PETSC_DIR or PETSC_DIR/PETSC_ARCH.
Reported-by: Patrick Sanan <patrick.sanan@gmail.com>
show more ...
|