Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Workaround for py2 builtin, =<3.3 imp and >=3.4 libimport quirks #50128
What does this PR do?
Python 2 has a builtin for "reload"
What issues does this PR fix or reference?
NameError: name 'reload' is not defined
Commits signed with GPG?
Please review Salt's Contributing Guide for best practices.
See GitHub's page on GPG signing for more information about signing commits with GPG.
gtmanfred left a comment
Can we do something more like.
Also, have you verified that the builtins work on both python2 and py3? i know the handling of builtins was changed in python3