Skip to content

bpo-34035: Fix several AttributeError in zipfile seek() methods#8527

Merged
serhiy-storchaka merged 4 commits into
python:masterfrom
BoboTiG:fix-issue-34035
Jul 29, 2018
Merged

bpo-34035: Fix several AttributeError in zipfile seek() methods#8527
serhiy-storchaka merged 4 commits into
python:masterfrom
BoboTiG:fix-issue-34035

Conversation

@BoboTiG

@BoboTiG BoboTiG commented Jul 28, 2018

Copy link
Copy Markdown
Contributor

The ZipExtFile.seek() was not tested and several errors were not spotted. I added a test to prevent any future regression.

To be checked with @vstinner.

https://bugs.python.org/issue34035

@the-knights-who-say-ni

Copy link
Copy Markdown

Hello, and thanks for your contribution!

I'm a bot set up to make sure that the project can legally accept your contribution by verifying you have signed the PSF contributor agreement (CLA).

Unfortunately our records indicate you have not signed the CLA. For legal reasons we need you to sign this before we can look at your contribution. Please follow the steps outlined in the CPython devguide to rectify this issue.

When your account is ready, please add a comment in this pull request
and a Python core developer will remove the CLA not signed label
to make the bot check again.

You can check yourself
to see if the CLA has been received.

Thanks again for your contribution, we look forward to reviewing it!

Comment thread Lib/test/test_zipfile.py Outdated
Comment thread Lib/test/test_zipfile.py Outdated
@BoboTiG BoboTiG force-pushed the fix-issue-34035 branch 2 times, most recently from d86ca74 to c089457 Compare July 28, 2018 15:56
@BoboTiG

BoboTiG commented Jul 29, 2018

Copy link
Copy Markdown
Contributor Author

CLA signed :)

@serhiy-storchaka serhiy-storchaka merged commit 3f8c691 into python:master Jul 29, 2018
@miss-islington

Copy link
Copy Markdown
Contributor

Thanks @BoboTiG for the PR, and @serhiy-storchaka for merging it 🌮🎉.. I'm working now to backport this PR to: 3.6, 3.7.
🐍🍒⛏🤖 I'm not a witch! I'm not a witch!

@miss-islington

Copy link
Copy Markdown
Contributor

Sorry @BoboTiG and @serhiy-storchaka, I had trouble checking out the 3.6 backport branch.
Please backport using cherry_picker on command line.
cherry_picker 3f8c6913b82ed9c05e57175bcbfeacde46c598e3 3.6

@bedevere-bot

Copy link
Copy Markdown

GH-8556 is a backport of this pull request to the 3.7 branch.

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Jul 29, 2018
…honGH-8527)

(cherry picked from commit 3f8c691)

Co-authored-by: Mickaël Schoentgen <contact@tiger-222.fr>
miss-islington added a commit that referenced this pull request Jul 29, 2018
…8527)

(cherry picked from commit 3f8c691)

Co-authored-by: Mickaël Schoentgen <contact@tiger-222.fr>
@BoboTiG BoboTiG deleted the fix-issue-34035 branch July 29, 2018 21:41
@vstinner

Copy link
Copy Markdown
Member

@BoboTiG: Oh nice, someone else reviewed and even merged your PR. Congrats!

@BoboTiG

BoboTiG commented Jul 31, 2018

Copy link
Copy Markdown
Contributor Author

@vstinner: Thank you :)
The whole experience, for a first start, was really good. So thank you all :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type-bug An unexpected behavior, bug, or error

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants