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

remove from __future__ import print_function #464

Open
junkmd opened this issue Jan 8, 2023 · 0 comments
Open

remove from __future__ import print_function #464

junkmd opened this issue Jan 8, 2023 · 0 comments
Labels
good first issue Good for newcomers

Comments

@junkmd
Copy link
Collaborator

junkmd commented Jan 8, 2023

The from __future__ import print_function will no longer be needed if only Python 3 is supported.

The following should be removed;

PS ...\comtypes> git log -1 --pretty=%H
00f231784f3ac7da83196e1c85095df6290d5b9f
PS ...\comtypes> Get-ChildItem -Path .\comtypes -Recurse | Select-String -SimpleMatch "from __future__ import print_function"  

comtypes\shelllink.py:1:from __future__ import print_function
comtypes\client\_events.py:1:from __future__ import print_function
comtypes\client\_generate.py:1:from __future__ import print_function
comtypes\test\find_memleak.py:1:from __future__ import print_function
comtypes\test\test_agilent.py:5:from __future__ import print_function
comtypes\test\test_createwrappers.py:1:from __future__ import print_function
comtypes\test\test_excel.py:2:from __future__ import print_function
comtypes\test\test_variant.py:1:from __future__ import print_function
comtypes\test\__init__.py:3:from __future__ import print_function
comtypes\tools\codegenerator.py:3:from __future__ import print_function
comtypes\tools\tlbparser.py:1:from __future__ import print_function
@junkmd junkmd added good first issue Good for newcomers drop_py2 dev based on supporting only Python3, see #392 labels Jan 8, 2023
@junkmd junkmd removed the drop_py2 dev based on supporting only Python3, see #392 label Feb 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant