You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix translation for conflicting module name (pyccel#1854)
Fix the translation of a file whose name conflicts with Fortran keywords
by ensuring that the original name is correctly extracted from the
scope. Fixespyccel#1853.
**Commit Summary**
- Ensure Python name of module exists in the scope by adding it in the
syntactic stage.
- Don't use `AsName` for module name
- Save the Python name of a module as the name of the `PyModule`
- Ensure Python names are used for imports
- Remove hacky `set_name` function.
- Remove unused `assign_to` argument of `CodePrinter.doprint`.
---------
Co-authored-by: Yaman Güçlü <[email protected]>
0 commit comments