Skip to content
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

refactor: remove unneeded to_native calls #477

Merged
merged 3 commits into from
Mar 27, 2024

Conversation

jooola
Copy link
Collaborator

@jooola jooola commented Mar 26, 2024

SUMMARY

Since we only support python >=3.8, the to_native python2/3 compatibility function is not needed anymore. We only keep it for printing a traceback free exception message. Where a type conversion is needed, we use the built-in str() function.

@jooola jooola force-pushed the remove-to_native branch from 8039f42 to 6de8777 Compare March 27, 2024 09:50
@jooola jooola requested a review from apricote March 27, 2024 09:51
@jooola jooola merged commit 4bb02b9 into ansible-collections:main Mar 27, 2024
25 checks passed
@jooola jooola deleted the remove-to_native branch March 27, 2024 16:19
jooola added a commit that referenced this pull request Apr 16, 2024
jooola added a commit that referenced this pull request Apr 16, 2024
jooola added a commit that referenced this pull request Apr 16, 2024
##### SUMMARY

Fix #495
Related to
#477

##### ISSUE TYPE

- Bugfix Pull Request


##### COMPONENT NAME
inventory
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants