-
-
Notifications
You must be signed in to change notification settings - Fork 528
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
Python 3 preparation: Some functions (ifilter, imap, izip) are removed from itertools #16070
Labels
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The tool 2to3 removes the imports.
But the code has to depend on the Python version!
An alternative approach is to add
from future_builtins import filter
and to check where a wrapping withlist()
is required.There are 13 effected modules.
This ticket is tracked as a dependency of meta-ticket ticket:16052.
Component: python3
Issue created by migration from https://trac.sagemath.org/ticket/16070
The text was updated successfully, but these errors were encountered: