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

bpo-35444: Unify and optimize the helper for getting a builtin object. #11047

Merged

Conversation

@serhiy-storchaka
Copy link
Member

serhiy-storchaka commented Dec 9, 2018

This speeds up pickling of some iterators.

This fixes also error handling in pickling methods when fail to
look up builtin "getattr".

https://bugs.python.org/issue35444

This speeds up pickling of some iterators.

This fixes also error handling in pickling methods when fail to
look up builtin "getattr".
@serhiy-storchaka serhiy-storchaka merged commit bb86bf4 into python:master Dec 11, 2018
5 checks passed
5 checks passed
Azure Pipelines PR #20181209.14 succeeded
Details
bedevere/issue-number Issue number 35444 found
Details
bedevere/news News entry found in Misc/NEWS.d
continuous-integration/appveyor/pr AppVeyor build succeeded
Details
continuous-integration/travis-ci/pr The Travis CI build passed
Details
@serhiy-storchaka serhiy-storchaka deleted the serhiy-storchaka:_PyEval_GetBuiltinId branch Dec 11, 2018
serhiy-storchaka added a commit to serhiy-storchaka/cpython that referenced this pull request Dec 11, 2018
…object. (pythonGH-11047)

This speeds up pickling of some iterators.

This fixes also error handling in pickling methods when fail to
look up builtin "getattr"..
(cherry picked from commit bb86bf4)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
serhiy-storchaka added a commit to serhiy-storchaka/cpython that referenced this pull request Dec 11, 2018
serhiy-storchaka added a commit that referenced this pull request Dec 11, 2018
…GH-11047) (GH-11107)

(cherry picked from commit bb86bf4)
miss-islington added a commit to miss-islington/cpython that referenced this pull request Dec 11, 2018
…pythonGH-11047) (pythonGH-11107)

(cherry picked from commit bb86bf4)
(cherry picked from commit 3cae16d)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
serhiy-storchaka added a commit that referenced this pull request Dec 11, 2018
…GH-11047) (GH-11107) (GH-11108)

(cherry picked from commit bb86bf4)
(cherry picked from commit 3cae16d)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
4 participants
You can’t perform that action at this time.