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
file() on a file #41643
Comments
it would be nice if file(f) worked when f is already a |
Logged In: YES It's not at all obvious what this should do. Three
Either of them might be meaningful in some context, and they |
Logged In: YES that argument also works against str() and list(). it's not I think file(f) is similar. it has a few more issues |
Logged In: YES The same argument can *not* be made for strings, since For files, this is entirely different. file() does not take |
Logged In: YES I'm also -1 on this -- I have no idea what would make sense |
Logged In: YES Since several people have commented that the change would |
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: