Skip to content

[Python3] Adjust relative import statements to use relative syntax so they work with Py2 and Py3 #32937

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

Merged
merged 3 commits into from
Jul 17, 2020

Conversation

tbkka
Copy link
Contributor

@tbkka tbkka commented Jul 16, 2020

Importing files from "the same directory as this file" was
implicitly supported in Python2.7 but not Python3. The
syntax here works for both.

tbkka added 3 commits July 15, 2020 10:41
Importing files from "the same directory as this file" was
implicitly supported in Python2.7 but not Python3.  The
syntax here works for both.
@tbkka tbkka requested review from gottesmm and compnerd July 16, 2020 23:14
@tbkka
Copy link
Contributor Author

tbkka commented Jul 16, 2020

@swift-ci Please smoke test

@tbkka tbkka merged commit 6a255ec into swiftlang:master Jul 17, 2020
@tbkka tbkka deleted the tbkka/benchmark-py3 branch October 16, 2020 00:33
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