fix: Python 3 correctness and PEP 8 compliance improvements by shbhmexe · Pull Request #2640 · su2code/SU2
- Use identity operators for None comparisons (is/is not) - Replace bare except with Exception/OSError - Replace .has_key() and .iteritems() with Python 3 equivalents - Fix mutable default arguments in function signatures Signed-off-by: shbhmexe <shubhushukla586@gmail.com>
bot found potential problems Dec 8, 2025
shbhmexe added 2 commits
December 9, 2025 15:01….projection - tools.py: update restart2solution docstring to match signature (state=None), per review. - projection.py: clarify that the 'state' parameter is accepted for API compatibility and currently unused. - No functional changes. Signed-off-by: shbhmexe <shubhushukla586@gmail.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters