Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

bpo-28231: The zipfile module now accepts path-like objects for external paths.#511

Merged
serhiy-storchaka merged 2 commits into
python:masterpython/cpython:masterfrom
serhiy-storchaka:bpo-28231-zipfile-pathlib-3.6.2serhiy-storchaka/cpython:bpo-28231-zipfile-pathlib-3.6.2Copy head branch name to clipboard
Mar 8, 2017
Merged

bpo-28231: The zipfile module now accepts path-like objects for external paths.#511
serhiy-storchaka merged 2 commits into
python:masterpython/cpython:masterfrom
serhiy-storchaka:bpo-28231-zipfile-pathlib-3.6.2serhiy-storchaka/cpython:bpo-28231-zipfile-pathlib-3.6.2Copy head branch name to clipboard

Conversation

@serhiy-storchaka

Copy link
Copy Markdown
Member

No description provided.

@mention-bot

Copy link
Copy Markdown

@serhiy-storchaka, thanks for your PR! By analyzing the history of the files in this pull request, we identified @loewis, @birkenfeld, @ezio-melotti, @Yhg1s and @ctismer to be potential reviewers.

Comment thread Doc/library/zipfile.rst
Open a ZIP file, where *file* can be either a path to a file (a string) or a
file-like object. The *mode* parameter should be ``'r'`` to read an existing
Open a ZIP file, where *file* can be a path to a file (a string), a
file-like object or a :term:`path-like object`.

@zhangyangyu zhangyangyu Mar 8, 2017

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

file-like object is a term. So we can use :term:`file-like object`.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Agree. But this is separate issue. There are a lot of mentions of file and file-like objects in the documentation.

@serhiy-storchaka serhiy-storchaka merged commit 8606e95 into python:master Mar 8, 2017
@serhiy-storchaka serhiy-storchaka deleted the bpo-28231-zipfile-pathlib-3.6.2 branch March 8, 2017 12:38
serhiy-storchaka added a commit to serhiy-storchaka/cpython that referenced this pull request Mar 8, 2017
serhiy-storchaka added a commit to serhiy-storchaka/cpython that referenced this pull request Mar 16, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type-feature A feature request or enhancement

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.