Skip to content

Conversation

@ssrthakkumar
Copy link

@ssrthakkumar ssrthakkumar commented Jan 23, 2026

This PR updates the documentation for open() to clarify that objects with a name attribute are also accepted as valid file arguments.


📚 Documentation preview 📚: https://cpython-previews--144187.org.readthedocs.build/

@bedevere-app
Copy link

bedevere-app bot commented Jan 23, 2026

Most changes to Python require a NEWS entry. Add one using the blurb_it web app or the blurb command-line tool.

If this change has little impact on Python users, wait for a maintainer to apply the skip news label instead.

Copy link
Member

@StanFromIreland StanFromIreland left a comment

Choose a reason for hiding this comment

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

Please revert all unrelated changes.

@picnixz
Copy link
Member

picnixz commented Jan 23, 2026

I am not sure we want to indicate this implementation detail. I am closing this because it requires a discussion IMO.

@picnixz picnixz closed this Jan 23, 2026
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.

3 participants