Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

DimitriPapadopoulos
Copy link
Contributor

@DimitriPapadopoulos DimitriPapadopoulos commented Sep 20, 2021

What does this implement/fix? Explain your changes.

Remove obsolete code:

  • No need to import division / print_function from __future__ in Python 3
  • Remove backport of PEP 562 for Python >= 3.7

@DimitriPapadopoulos DimitriPapadopoulos changed the title Remove obsolete code - Python >= 3.7 Remove obsolete code (Python >= 3.7) Sep 20, 2021
Copy link
Member

@thomasjpfan thomasjpfan left a comment

Choose a reason for hiding this comment

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

Thank you for the PR @DimitriPapadopoulos !

LGTM

@glemaitre glemaitre changed the title Remove obsolete code (Python >= 3.7) MNT Remove obsolete code (Python >= 3.7) Sep 20, 2021
@glemaitre glemaitre merged commit 6c068e2 into scikit-learn:main Sep 20, 2021
@glemaitre
Copy link
Member

Thanks @DimitriPapadopoulos. All the CIs are aline with Python >=3.7

@DimitriPapadopoulos DimitriPapadopoulos deleted the __future__ branch September 21, 2021 05:15
Copy link
Member

@lorentzenchr lorentzenchr left a comment

Choose a reason for hiding this comment

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

LGTM

@glemaitre glemaitre mentioned this pull request Oct 23, 2021
10 tasks
glemaitre pushed a commit to glemaitre/scikit-learn that referenced this pull request Oct 23, 2021
samronsin pushed a commit to samronsin/scikit-learn that referenced this pull request Nov 30, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants