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

check pid in zip #105

Merged
merged 8 commits into from
Jan 20, 2020
Merged

check pid in zip #105

merged 8 commits into from
Jan 20, 2020

Conversation

shu65
Copy link
Member

@shu65 shu65 commented Jan 8, 2020

This PR solves ZipContainer issue in #104

@shu65 shu65 changed the title [WIP] check pid in zip check pid in zip Jan 8, 2020
@shu65 shu65 added the cat:enhancement Implementation that does not break interfaces. label Jan 8, 2020
@kuenishi
Copy link
Member

/test

1 similar comment
@kuenishi
Copy link
Member

/test

@pfn-ci-bot
Copy link

Successfully created a job for commit 6259dfd:

Copy link
Member

@belldandyxtq belldandyxtq left a comment

Choose a reason for hiding this comment

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

Can you please also add a test for writing-after-listing? To check the mode part

chainerio/containers/zip.py Outdated Show resolved Hide resolved
@shu65
Copy link
Member Author

shu65 commented Jan 17, 2020

/test

@pfn-ci-bot
Copy link

Successfully created a job for commit 2c38b0c:

@shu65
Copy link
Member Author

shu65 commented Jan 17, 2020

/test

@pfn-ci-bot
Copy link

Successfully created a job for commit 433cd75:

@@ -80,12 +94,14 @@ def _wrap_fileobject(self, file_obj: Type['IOBase'],
def open(self, file_path, mode='r',
buffering=-1, encoding=None, errors=None,
newline=None, closefd=True, opener=None):
if sys.version_info < (3, 6) and "w" in mode:
raise ValueError('Mode w and wb is not supported')
Copy link
Member

Choose a reason for hiding this comment

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

Can you mention that "w" and "wb" is not supported only in Python < 3.6?

@shu65
Copy link
Member Author

shu65 commented Jan 17, 2020

/test

@pfn-ci-bot
Copy link

Successfully created a job for commit 2ef8e26:

@shu65
Copy link
Member Author

shu65 commented Jan 17, 2020

/test

@pfn-ci-bot
Copy link

Successfully created a job for commit 596fffe:

@belldandyxtq
Copy link
Member

/test

@pfn-ci-bot
Copy link

Successfully created a job for commit a7ebe0e:

@belldandyxtq belldandyxtq merged commit f8dbfe0 into pfnet:master Jan 20, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cat:enhancement Implementation that does not break interfaces.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants