Skip to content

Conversation

@ZackerySpytz
Copy link
Contributor

@ZackerySpytz ZackerySpytz commented Dec 7, 2018

Set MemoryError when appropriate, add missing failure checks,
and fix some potential leaks.

https://bugs.python.org/issue35436

Set MemoryError when appropriate, add missing failure checks,
and fix some potential leaks.
Copy link
Member

@serhiy-storchaka serhiy-storchaka left a comment

Choose a reason for hiding this comment

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

Great work! It is worth adding a news entry.

Remove some useless indentation.
Add a missing check introduced in a recent commit (468a15a).
@ZackerySpytz
Copy link
Contributor Author

@serhiy-storchaka Thank you for the review.

@serhiy-storchaka serhiy-storchaka merged commit 4c49da0 into python:master Dec 7, 2018
@miss-islington
Copy link
Contributor

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

@miss-islington
Copy link
Contributor

Sorry, @ZackerySpytz and @serhiy-storchaka, I could not cleanly backport this to 3.7 due to a conflict.
Please backport using cherry_picker on command line.
cherry_picker 4c49da0cb7434c676d70b9ccf38aca82ac0d64a9 3.7

@miss-islington
Copy link
Contributor

Sorry, @ZackerySpytz and @serhiy-storchaka, I could not cleanly backport this to 3.6 due to a conflict.
Please backport using cherry_picker on command line.
cherry_picker 4c49da0cb7434c676d70b9ccf38aca82ac0d64a9 3.6

@miss-islington
Copy link
Contributor

Sorry, @ZackerySpytz and @serhiy-storchaka, I could not cleanly backport this to 2.7 due to a conflict.
Please backport using cherry_picker on command line.
cherry_picker 4c49da0cb7434c676d70b9ccf38aca82ac0d64a9 2.7

@ZackerySpytz
Copy link
Contributor Author

@serhiy-storchaka I'll create the backport PRs.

vstinner added a commit that referenced this pull request Dec 7, 2018
ZackerySpytz added a commit to ZackerySpytz/cpython that referenced this pull request Dec 7, 2018
@bedevere-bot
Copy link

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

@bedevere-bot
Copy link

⚠️⚠️⚠️ Buildbot failure ⚠️⚠️⚠️

Hi! The buildbot s390x RHEL 3.7 has failed when building commit 602d307.

What do you need to do:

  1. Don't panic.
  2. Check the buildbot page in the devguide if you don't know what the buildbots are or how they work.
  3. Go to the page of the buildbot that failed (https://buildbot.python.org/all/#builders/126/builds/860) and take a look at the build logs.
  4. Check if the failure is related to this commit (602d307) or if it is a false positive.
  5. If the failure is related to this commit, please, reflect that on the issue and make a new Pull Request with a fix.

You can take a look at the buildbot page here:

https://buildbot.python.org/all/#builders/126/builds/860

Click to see traceback logs
fatal: unable to access 'https://github.com/python/cpython.git/': Encountered end of file

make: *** No rule to make target `distclean'.  Stop.

serhiy-storchaka pushed a commit to serhiy-storchaka/cpython that referenced this pull request Dec 7, 2018
…ug fixes. (pythonGH-11015) (pythonGH-11020)

(cherry picked from commit 4c49da0).
(cherry picked from commit 602d307)

Co-authored-by: Zackery Spytz <[email protected]>
serhiy-storchaka added a commit that referenced this pull request Dec 7, 2018
…es. (GH-11015) (GH-11020) (GH-11026)

(cherry picked from commit 4c49da0)
(cherry picked from commit 602d307)

Co-authored-by: Zackery Spytz <[email protected]>
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.

5 participants