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

Drop support for Python 3.5 #1250

Merged
merged 1 commit into from
Oct 19, 2020
Merged

Conversation

davidhewitt
Copy link
Member

@davidhewitt davidhewitt commented Oct 18, 2020

This drops support for Python 3.5, as notionally suggested in #685 . (Python 3.5 is now end-of-life.)

This also helps unblock the abi3 work, which currently has a segmentation fault under Python 3.5 on Windows which looks like it'll be very hard to debug.

Closes #208
Closes #685

Copy link
Member

@kngwyu kngwyu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks. I'm happy to see that dropping this reduces LOC.

@@ -770,7 +770,7 @@ fn configure(interpreter_config: &InterpreterConfig) -> Result<String> {
}

if let Some(minor) = interpreter_config.version.minor {
for i in 5..(minor + 1) {
for i in 6..(minor + 1) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🙂

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you could have used 6..=minor instead of 6..(minor + 1)

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 good idea!

@davidhewitt davidhewitt merged commit 5a196c3 into PyO3:master Oct 19, 2020
@kngwyu kngwyu mentioned this pull request Nov 12, 2020
1 task
@davidhewitt davidhewitt deleted the drop-python-3.5 branch August 10, 2021 07:20
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.

Drop support for python3.5 Bounds checking in Python <=3.5
3 participants